Skip to content

Commit b2184c3

Browse files
committed
Change Hardcoded toggle on/off label to string
1 parent f42d6a1 commit b2184c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher/SettingWindow.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@
112112

113113
<Style x:Key="SideToggleSwitch" TargetType="{x:Type ui:ToggleSwitch}">
114114
<Setter Property="Grid.Column" Value="2" />
115-
<Setter Property="OffContent" Value="Off" />
116-
<Setter Property="OnContent" Value="On" />
115+
<Setter Property="OffContent" Value="{DynamicResource disable}" />
116+
<Setter Property="OnContent" Value="{DynamicResource enable}" />
117117
<Setter Property="FlowDirection" Value="RightToLeft" />
118118
<Setter Property="Margin" Value="0,4,22,4" />
119119
</Style>

0 commit comments

Comments
 (0)