diff --git a/apps/common/mobile/lib/controller/Themes.js b/apps/common/mobile/lib/controller/Themes.js index dffe5de0a5..768fdf9bf6 100644 --- a/apps/common/mobile/lib/controller/Themes.js +++ b/apps/common/mobile/lib/controller/Themes.js @@ -26,6 +26,14 @@ class ThemesController { } this.switchDarkTheme(theme, true); + + $$(window).on('storage', e => { + if ( e.key == LocalStorage.prefix + 'ui-theme' ) { + if ( !!e.newValue ) { + this.switchDarkTheme(JSON.parse(e.newValue), true); + } + } + }); } get isCurrentDark() {