feat: add old browser checks

This commit is contained in:
2025-12-19 01:22:53 +03:00
parent 28bef4ee3b
commit 76c32c5320
4 changed files with 33 additions and 4 deletions

View File

@@ -105,7 +105,11 @@ settings.load()
document.documentElement.style.setProperty(key, settings.theme.variables[key]);
}
setTelegramUIColors();
try {
setTelegramUIColors();
} catch (e) {
console.error('Could not set Telegram UI Colors', e);
}
}
)
.then(() => new AppMetaInitializer(settings).init())