mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
Fix wrong theme handling
This commit is contained in:
parent
89122ff92d
commit
7e5f037332
1 changed files with 3 additions and 2 deletions
|
|
@ -5,8 +5,9 @@ import SettingsCpp
|
|||
|
||||
QtObject {
|
||||
|
||||
property var currentTheme: Themes.themes[SettingsCpp.themeMainColor]
|
||||
|
||||
property var currentTheme: Themes.themes.hasOwnProperty(SettingsCpp.themeMainColor)
|
||||
? Themes.themes[SettingsCpp.themeMainColor]
|
||||
: Themes.themes["orange"]
|
||||
property color main1_100: currentTheme.main100
|
||||
property color main1_200: currentTheme.main200
|
||||
property color main1_300: currentTheme.main300
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue