File tree Expand file tree Collapse file tree 4 files changed +18
-4
lines changed
Flow.Launcher.Infrastructure/UserSettings Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ public string Theme
101
101
public bool UseAnimation { get ; set ; } = true ;
102
102
public bool UseSound { get ; set ; } = true ;
103
103
public double SoundVolume { get ; set ; } = 50 ;
104
- public bool ShowPluginBadges { get ; set ; } = false ;
104
+ public bool ShowBadges { get ; set ; } = false ;
105
105
106
106
public bool UseClock { get ; set ; } = true ;
107
107
public bool UseDate { get ; set ; } = false ;
Original file line number Diff line number Diff line change 283
283
<system : String x : Key =" useGlyphUI" >Use Segoe Fluent Icons</system : String >
284
284
<system : String x : Key =" useGlyphUIEffect" >Use Segoe Fluent Icons for query results where supported</system : String >
285
285
<system : String x : Key =" flowlauncherPressHotkey" >Press Key</system : String >
286
+ <system : String x : Key =" showBadges" >Show Result Badges</system : String >
287
+ <system : String x : Key =" showBadgesToolTip" >Show badges for query results where supported</system : String >
286
288
287
289
<!-- Setting Proxy -->
288
290
<system : String x : Key =" proxy" >HTTP Proxy</system : String >
Original file line number Diff line number Diff line change 698
698
</Grid >
699
699
</Border >
700
700
701
-
702
701
<!-- Fonts and icons -->
703
702
<cc : Card
704
703
Title =" {DynamicResource useGlyphUI}"
705
- Margin =" 0 0 0 0"
704
+ Margin =" 0 18 0 0"
706
705
Icon ="  "
707
706
Sub =" {DynamicResource useGlyphUIEffect}" >
708
707
<ui : ToggleSwitch
709
708
IsOn =" {Binding UseGlyphIcons}"
710
709
OffContent =" {DynamicResource disable}"
711
710
OnContent =" {DynamicResource enable}" />
712
711
</cc : Card >
712
+
713
+ <!-- Badges -->
714
+ <cc : Card
715
+ Title =" {DynamicResource showBadges}"
716
+ Margin =" 0 0 0 0"
717
+ Icon ="  "
718
+ Sub =" {DynamicResource showBadgesToolTip}" >
719
+ <ui : ToggleSwitch
720
+ IsOn =" {Binding Settings.ShowBadges}"
721
+ OffContent =" {DynamicResource disable}"
722
+ OnContent =" {DynamicResource enable}" />
723
+ </cc : Card >
724
+
713
725
<!-- Settings color scheme -->
714
726
<cc : Card
715
727
Title =" {DynamicResource ColorScheme}"
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ public Visibility ShowGlyph
125
125
126
126
public Visibility ShowBadge
127
127
{
128
- get => Settings . ShowPluginBadges ? Visibility . Visible : Visibility . Collapsed ;
128
+ get => Settings . ShowBadges ? Visibility . Visible : Visibility . Collapsed ;
129
129
}
130
130
131
131
private bool GlyphAvailable => Glyph is not null ;
You can’t perform that action at this time.
0 commit comments