mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 08:37:12 +00:00
fix(@desktop/onboarding): use system theme while onboarding
Fixes #6630
This commit is contained in:
parent
ba4aac6456
commit
6fc340d2cd
@ -158,6 +158,8 @@ StatusWindow {
|
||||
}
|
||||
startupOnboarding.unload()
|
||||
startupOnboarding.visible = false
|
||||
|
||||
Style.changeTheme(localAppSettings.theme, systemPalette.isCurrentSystemThemeDark())
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -207,12 +209,13 @@ StatusWindow {
|
||||
}
|
||||
|
||||
function changeThemeFromOutside() {
|
||||
Style.changeTheme(localAppSettings.theme, systemPalette.isCurrentSystemThemeDark())
|
||||
Style.changeTheme(startupOnboarding.visible ? Universal.System : localAppSettings.theme,
|
||||
systemPalette.isCurrentSystemThemeDark())
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
Global.applicationWindow = this;
|
||||
Style.changeTheme(localAppSettings.theme, systemPalette.isCurrentSystemThemeDark());
|
||||
Style.changeTheme(Universal.System, systemPalette.isCurrentSystemThemeDark());
|
||||
|
||||
restoreAppState();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user