diff --git a/bundles/org.openhab.ui/web/src/components/app.vue b/bundles/org.openhab.ui/web/src/components/app.vue index af4fd28588..f5e6f38dda 100644 --- a/bundles/org.openhab.ui/web/src/components/app.vue +++ b/bundles/org.openhab.ui/web/src/components/app.vue @@ -584,7 +584,7 @@ export default { }, updateThemeOptions () { this.themeOptions.dark = localStorage.getItem('openhab.ui:theme.dark') || ((window.OHApp && window.OHApp.preferDarkMode) ? window.OHApp.preferDarkMode().toString() : (this.$f7.darkTheme ? 'dark' : 'light')) - this.themeOptions.bars = localStorage.getItem('openhab.ui:theme.bars') || ((this.$theme.ios || this.$f7.darkTheme || this.themeOptions.dark === 'dark') ? 'light' : 'filled') + this.themeOptions.bars = localStorage.getItem('openhab.ui:theme.bars') || 'light' this.themeOptions.homeNavbar = localStorage.getItem('openhab.ui:theme.home.navbar') || 'default' this.themeOptions.homeBackground = localStorage.getItem('openhab.ui:theme.home.background') || 'default' this.themeOptions.expandableCardAnimation = localStorage.getItem('openhab.ui:theme.home.cardanimation') || 'default' diff --git a/bundles/org.openhab.ui/web/src/components/theme-switcher.vue b/bundles/org.openhab.ui/web/src/components/theme-switcher.vue index 78327c41cf..7ebb8f8b45 100644 --- a/bundles/org.openhab.ui/web/src/components/theme-switcher.vue +++ b/bundles/org.openhab.ui/web/src/components/theme-switcher.vue @@ -36,14 +36,14 @@ - -
- -
+ +
+ + @@ -147,7 +147,7 @@ export default { return localStorage.getItem('openhab.ui:theme.dark') || 'auto' }, barsStyle () { - return localStorage.getItem('openhab.ui:theme.bars') || ((this.$theme.ios || this.$f7.darkTheme || this.darkMode === 'dark') ? 'light' : 'filled') + return localStorage.getItem('openhab.ui:theme.bars') || 'light' }, homePageNavbarStyle () { return localStorage.getItem('openhab.ui:theme.home.navbar') || 'default'