File tree Expand file tree Collapse file tree 1 file changed +30
-8
lines changed
Flow.Launcher.Infrastructure/UserSettings Expand file tree Collapse file tree 1 file changed +30
-8
lines changed Original file line number Diff line number Diff line change @@ -59,16 +59,19 @@ public string Language
59
59
get => _language ;
60
60
set
61
61
{
62
- _language = value ;
63
- OnPropertyChanged ( ) ;
62
+ if ( _language != value )
63
+ {
64
+ _language = value ;
65
+ OnPropertyChanged ( ) ;
66
+ }
64
67
}
65
68
}
66
69
public string Theme
67
70
{
68
71
get => _theme ;
69
72
set
70
73
{
71
- if ( value != _theme )
74
+ if ( _theme != value )
72
75
{
73
76
_theme = value ;
74
77
OnPropertyChanged ( ) ;
@@ -283,9 +286,12 @@ public SearchPrecisionScore QuerySearchPrecision
283
286
get => _querySearchPrecision ;
284
287
set
285
288
{
286
- _querySearchPrecision = value ;
287
- if ( _stringMatcher != null )
288
- _stringMatcher . UserSettingSearchPrecision = value ;
289
+ if ( _querySearchPrecision != value )
290
+ {
291
+ _querySearchPrecision = value ;
292
+ if ( _stringMatcher != null )
293
+ _stringMatcher . UserSettingSearchPrecision = value ;
294
+ }
289
295
}
290
296
}
291
297
@@ -348,12 +354,28 @@ public bool HideNotifyIcon
348
354
get => _hideNotifyIcon ;
349
355
set
350
356
{
351
- _hideNotifyIcon = value ;
352
- OnPropertyChanged ( ) ;
357
+ if ( _hideNotifyIcon != value )
358
+ {
359
+ _hideNotifyIcon = value ;
360
+ OnPropertyChanged ( ) ;
361
+ }
353
362
}
354
363
}
355
364
public bool LeaveCmdOpen { get ; set ; }
356
365
public bool HideWhenDeactivated { get ; set ; } = true ;
366
+ private bool _showAtTopmost ;
367
+ public bool ShowAtTopmost
368
+ {
369
+ get => _showAtTopmost ;
370
+ set
371
+ {
372
+ if ( _showAtTopmost != value )
373
+ {
374
+ _showAtTopmost = value ;
375
+ OnPropertyChanged ( ) ;
376
+ }
377
+ }
378
+ }
357
379
358
380
public bool SearchQueryResultsWithDelay { get ; set ; }
359
381
public int SearchDelayTime { get ; set ; } = 150 ;
You can’t perform that action at this time.
0 commit comments