feat: add old browser checks
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user