fix: test
This commit is contained in:
@@ -16,6 +16,14 @@ class AppMetaInitializer {
|
||||
this.setMeta('theme-color', '#000000');
|
||||
this.setMeta('msapplication-navbutton-color', '#000000');
|
||||
this.setMeta('apple-mobile-web-app-status-bar-style', 'black-translucent');
|
||||
|
||||
// Добавляем apple-touch-icon теги
|
||||
if (this.settings.apple_touch_icon) {
|
||||
this.addLink('apple-touch-icon', this.settings.apple_touch_icon);
|
||||
} else {
|
||||
// Добавляем дефолтный apple-touch-icon, если не указан
|
||||
this.addLink('apple-touch-icon', '/favicon.ico');
|
||||
}
|
||||
}
|
||||
|
||||
private setMeta(name: string, content: string) {
|
||||
|
||||
Reference in New Issue
Block a user