File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Flow.Launcher.Infrastructure/UserSettings Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings
13
13
public class Settings : BaseModel
14
14
{
15
15
private string language = "en" ;
16
+ private string _theme = Constant . DefaultTheme ;
16
17
public string Hotkey { get ; set ; } = $ "{ KeyConstant . Alt } + { KeyConstant . Space } ";
17
18
public string OpenResultModifiers { get ; set ; } = KeyConstant . Alt ;
18
19
public string ColorScheme { get ; set ; } = "System" ;
@@ -29,7 +30,18 @@ public string Language
29
30
OnPropertyChanged ( ) ;
30
31
}
31
32
}
32
- public string Theme { get ; set ; } = Constant . DefaultTheme ;
33
+ public string Theme
34
+ {
35
+ get => _theme ;
36
+ set
37
+ {
38
+ if ( value == _theme )
39
+ return ;
40
+ _theme = value ;
41
+ OnPropertyChanged ( ) ;
42
+ OnPropertyChanged ( nameof ( MaxResultsToShow ) ) ;
43
+ }
44
+ }
33
45
public bool UseDropShadowEffect { get ; set ; } = false ;
34
46
public string QueryBoxFont { get ; set ; } = FontFamily . GenericSansSerif . Name ;
35
47
public string QueryBoxFontStyle { get ; set ; }
You can’t perform that action at this time.
0 commit comments