File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
Flow.Launcher.Infrastructure/UserSettings Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -101,6 +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
105
105
106
public bool UseClock { get ; set ; } = true ;
106
107
public bool UseDate { get ; set ; } = false ;
Original file line number Diff line number Diff line change 146
146
VerticalAlignment =" Bottom"
147
147
RenderOptions.BitmapScalingMode=" Fant"
148
148
Source =" {Binding Image, TargetNullValue={x:Null}}"
149
- Visibility =" {Binding ShowBadge, Converter={StaticResource BoolToVisibilityConverter} }" />
149
+ Visibility =" {Binding ShowBadge}" />
150
150
</Grid >
151
151
</Border >
152
152
</Grid >
Original file line number Diff line number Diff line change @@ -123,6 +123,11 @@ public Visibility ShowGlyph
123
123
}
124
124
}
125
125
126
+ public Visibility ShowBadge
127
+ {
128
+ get => Settings . ShowPluginBadges ? Visibility . Visible : Visibility . Collapsed ;
129
+ }
130
+
126
131
private bool GlyphAvailable => Glyph is not null ;
127
132
128
133
private bool ImgIconAvailable => ! string . IsNullOrEmpty ( Result . IcoPath ) || Result . Icon is not null ;
You can’t perform that action at this time.
0 commit comments