mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add related settings in appreance page
This commit is contained in:
parent
471c3edc6f
commit
b85c2f48f9
4 changed files with 18 additions and 4 deletions
|
|
@ -101,7 +101,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings
|
|||
public bool UseAnimation { get; set; } = true;
|
||||
public bool UseSound { get; set; } = true;
|
||||
public double SoundVolume { get; set; } = 50;
|
||||
public bool ShowPluginBadges { get; set; } = false;
|
||||
public bool ShowBadges { get; set; } = false;
|
||||
|
||||
public bool UseClock { get; set; } = true;
|
||||
public bool UseDate { get; set; } = false;
|
||||
|
|
|
|||
|
|
@ -283,6 +283,8 @@
|
|||
<system:String x:Key="useGlyphUI">Use Segoe Fluent Icons</system:String>
|
||||
<system:String x:Key="useGlyphUIEffect">Use Segoe Fluent Icons for query results where supported</system:String>
|
||||
<system:String x:Key="flowlauncherPressHotkey">Press Key</system:String>
|
||||
<system:String x:Key="showBadges">Show Result Badges</system:String>
|
||||
<system:String x:Key="showBadgesToolTip">Show badges for query results where supported</system:String>
|
||||
|
||||
<!-- Setting Proxy -->
|
||||
<system:String x:Key="proxy">HTTP Proxy</system:String>
|
||||
|
|
|
|||
|
|
@ -698,11 +698,10 @@
|
|||
</Grid>
|
||||
</Border>
|
||||
|
||||
|
||||
<!-- Fonts and icons -->
|
||||
<cc:Card
|
||||
Title="{DynamicResource useGlyphUI}"
|
||||
Margin="0 0 0 0"
|
||||
Margin="0 18 0 0"
|
||||
Icon=""
|
||||
Sub="{DynamicResource useGlyphUIEffect}">
|
||||
<ui:ToggleSwitch
|
||||
|
|
@ -710,6 +709,19 @@
|
|||
OffContent="{DynamicResource disable}"
|
||||
OnContent="{DynamicResource enable}" />
|
||||
</cc:Card>
|
||||
|
||||
<!-- Badges -->
|
||||
<cc:Card
|
||||
Title="{DynamicResource showBadges}"
|
||||
Margin="0 0 0 0"
|
||||
Icon=""
|
||||
Sub="{DynamicResource showBadgesToolTip}">
|
||||
<ui:ToggleSwitch
|
||||
IsOn="{Binding Settings.ShowBadges}"
|
||||
OffContent="{DynamicResource disable}"
|
||||
OnContent="{DynamicResource enable}" />
|
||||
</cc:Card>
|
||||
|
||||
<!-- Settings color scheme -->
|
||||
<cc:Card
|
||||
Title="{DynamicResource ColorScheme}"
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ namespace Flow.Launcher.ViewModel
|
|||
|
||||
public Visibility ShowBadge
|
||||
{
|
||||
get => Settings.ShowPluginBadges ? Visibility.Visible : Visibility.Collapsed;
|
||||
get => Settings.ShowBadges ? Visibility.Visible : Visibility.Collapsed;
|
||||
}
|
||||
|
||||
private bool GlyphAvailable => Glyph is not null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue