fix: remove unnecessary code

This commit is contained in:
limes
2026-08-20 23:18:08 +02:00
parent 422d9f1746
commit c6a41f74f3

View File

@@ -108,10 +108,6 @@ watch(newCountry, () => {
newRegion.value = newCountry.value * (2 ** 24);
});
watchOnce(newRegion, () => {
newCountry.value = ((newRegion.value || 0) >>> 24) & 0xff;
});
watch(newRegion, (o, n) => {
if ((((o || 0) >>> 24) & 0xff) === (((n || 0) >>> 24) & 0xff)) {
// same country so we leave the timezone as is, else we might override the user's choice.