@@ -33,7 +33,6 @@ public void Save()
3333 _storage . Save ( ) ;
3434 }
3535
36- private string _theme = Constant . DefaultTheme ;
3736 public string Hotkey { get ; set ; } = $ "{ KeyConstant . Alt } + { KeyConstant . Space } ";
3837 public string OpenResultModifiers { get ; set ; } = KeyConstant . Alt ;
3938 public string ColorScheme { get ; set ; } = "System" ;
@@ -60,16 +59,20 @@ public string Language
6059 get => _language ;
6160 set
6261 {
63- _language = value ;
64- OnPropertyChanged ( ) ;
62+ if ( _language != value )
63+ {
64+ _language = value ;
65+ OnPropertyChanged ( ) ;
66+ }
6567 }
6668 }
69+ private string _theme = Constant . DefaultTheme ;
6770 public string Theme
6871 {
6972 get => _theme ;
7073 set
7174 {
72- if ( value != _theme )
75+ if ( _theme != value )
7376 {
7477 _theme = value ;
7578 OnPropertyChanged ( ) ;
@@ -79,6 +82,7 @@ public string Theme
7982 }
8083 public bool UseDropShadowEffect { get ; set ; } = true ;
8184 public BackdropTypes BackdropType { get ; set ; } = BackdropTypes . None ;
85+ public string ReleaseNotesVersion { get ; set ; } = string . Empty ;
8286
8387 /* Appearance Settings. It should be separated from the setting later.*/
8488 public double WindowHeightSize { get ; set ; } = 42 ;
@@ -297,9 +301,12 @@ public SearchPrecisionScore QuerySearchPrecision
297301 get => _querySearchPrecision ;
298302 set
299303 {
300- _querySearchPrecision = value ;
301- if ( _stringMatcher != null )
302- _stringMatcher . UserSettingSearchPrecision = value ;
304+ if ( _querySearchPrecision != value )
305+ {
306+ _querySearchPrecision = value ;
307+ if ( _stringMatcher != null )
308+ _stringMatcher . UserSettingSearchPrecision = value ;
309+ }
303310 }
304311 }
305312
@@ -366,13 +373,30 @@ public bool HideNotifyIcon
366373 get => _hideNotifyIcon ;
367374 set
368375 {
369- _hideNotifyIcon = value ;
370- OnPropertyChanged ( ) ;
376+ if ( _hideNotifyIcon != value )
377+ {
378+ _hideNotifyIcon = value ;
379+ OnPropertyChanged ( ) ;
380+ }
371381 }
372382 }
373383 public bool LeaveCmdOpen { get ; set ; }
374384 public bool HideWhenDeactivated { get ; set ; } = true ;
375385
386+ private bool _showAtTopmost = true ;
387+ public bool ShowAtTopmost
388+ {
389+ get => _showAtTopmost ;
390+ set
391+ {
392+ if ( _showAtTopmost != value )
393+ {
394+ _showAtTopmost = value ;
395+ OnPropertyChanged ( ) ;
396+ }
397+ }
398+ }
399+
376400 public bool SearchQueryResultsWithDelay { get ; set ; }
377401 public int SearchDelayTime { get ; set ; } = 150 ;
378402
0 commit comments