|
30 | 30 | TextAlignment="left" /> |
31 | 31 |
|
32 | 32 | <cc:Card Title="{DynamicResource startFlowLauncherOnSystemStartup}" Icon=""> |
33 | | - <ui:ToggleSwitch IsOn="{Binding StartFlowLauncherOnSystemStartup}" /> |
| 33 | + <ui:ToggleSwitch |
| 34 | + IsOn="{Binding StartFlowLauncherOnSystemStartup}" |
| 35 | + OffContent="{DynamicResource disable}" |
| 36 | + OnContent="{DynamicResource enable}" /> |
34 | 37 | </cc:Card> |
35 | 38 |
|
36 | 39 | <cc:Card Title="{DynamicResource hideOnStartup}" Icon=""> |
37 | | - <ui:ToggleSwitch IsOn="{Binding Settings.HideOnStartup}" /> |
| 40 | + <ui:ToggleSwitch |
| 41 | + IsOn="{Binding Settings.HideOnStartup}" |
| 42 | + OffContent="{DynamicResource disable}" |
| 43 | + OnContent="{DynamicResource enable}" /> |
38 | 44 | </cc:Card> |
39 | 45 |
|
40 | 46 | <cc:Card Title="{DynamicResource hideFlowLauncherWhenLoseFocus}" Margin="0 30 0 0"> |
41 | | - <ui:ToggleSwitch IsOn="{Binding Settings.HideWhenDeactivated}" /> |
| 47 | + <ui:ToggleSwitch |
| 48 | + IsOn="{Binding Settings.HideWhenDeactivated}" |
| 49 | + OffContent="{DynamicResource disable}" |
| 50 | + OnContent="{DynamicResource enable}" /> |
42 | 51 | </cc:Card> |
43 | 52 |
|
44 | 53 | <cc:Card Title="{DynamicResource hideNotifyIcon}" Sub="{DynamicResource hideNotifyIconToolTip}"> |
45 | | - <ui:ToggleSwitch IsOn="{Binding Settings.HideNotifyIcon}" /> |
| 54 | + <ui:ToggleSwitch |
| 55 | + IsOn="{Binding Settings.HideNotifyIcon}" |
| 56 | + OffContent="{DynamicResource disable}" |
| 57 | + OnContent="{DynamicResource enable}" /> |
46 | 58 | </cc:Card> |
47 | 59 |
|
48 | 60 | <cc:CardGroup Margin="0 30 0 0"> |
|
107 | 119 | Title="{DynamicResource ignoreHotkeysOnFullscreen}" |
108 | 120 | Icon="" |
109 | 121 | Sub="{DynamicResource ignoreHotkeysOnFullscreenToolTip}"> |
110 | | - <ui:ToggleSwitch IsOn="{Binding Settings.IgnoreHotkeysOnFullscreen}" /> |
| 122 | + <ui:ToggleSwitch |
| 123 | + IsOn="{Binding Settings.IgnoreHotkeysOnFullscreen}" |
| 124 | + OffContent="{DynamicResource disable}" |
| 125 | + OnContent="{DynamicResource enable}" /> |
111 | 126 | </cc:Card> |
112 | 127 |
|
113 | 128 | <cc:Card |
114 | 129 | Title="{DynamicResource AlwaysPreview}" |
115 | 130 | Margin="0 30 0 0" |
116 | 131 | Icon="" |
117 | 132 | Sub="{DynamicResource AlwaysPreviewToolTip}"> |
118 | | - <ui:ToggleSwitch IsOn="{Binding Settings.AlwaysPreview}" ToolTip="{Binding AlwaysPreviewToolTip}" /> |
| 133 | + <ui:ToggleSwitch |
| 134 | + IsOn="{Binding Settings.AlwaysPreview}" |
| 135 | + OffContent="{DynamicResource disable}" |
| 136 | + OnContent="{DynamicResource enable}" |
| 137 | + ToolTip="{Binding AlwaysPreviewToolTip}" /> |
119 | 138 | </cc:Card> |
120 | 139 |
|
121 | 140 | <cc:Card |
122 | 141 | Title="{DynamicResource autoUpdates}" |
123 | 142 | Margin="0 30 0 0" |
124 | 143 | Icon=""> |
125 | | - <ui:ToggleSwitch IsOn="{Binding AutoUpdates}" /> |
| 144 | + <ui:ToggleSwitch |
| 145 | + IsOn="{Binding AutoUpdates}" |
| 146 | + OffContent="{DynamicResource disable}" |
| 147 | + OnContent="{DynamicResource enable}" /> |
126 | 148 | </cc:Card> |
127 | 149 |
|
128 | 150 | <cc:Card |
129 | 151 | Title="{DynamicResource portableMode}" |
130 | 152 | Icon="" |
131 | 153 | Sub="{DynamicResource portableModeToolTIp}"> |
132 | | - <ui:ToggleSwitch IsOn="{Binding PortableMode}" /> |
| 154 | + <ui:ToggleSwitch |
| 155 | + IsOn="{Binding PortableMode}" |
| 156 | + OffContent="{DynamicResource disable}" |
| 157 | + OnContent="{DynamicResource enable}" /> |
133 | 158 | </cc:Card> |
134 | 159 |
|
135 | 160 | <cc:CardGroup Margin="0 30 0 0"> |
|
216 | 241 | Margin="0 30 0 0" |
217 | 242 | Icon="" |
218 | 243 | Sub="{DynamicResource typingStartEnTooltip}"> |
219 | | - <ui:ToggleSwitch IsOn="{Binding Settings.AlwaysStartEn}" /> |
| 244 | + <ui:ToggleSwitch |
| 245 | + IsOn="{Binding Settings.AlwaysStartEn}" |
| 246 | + OffContent="{DynamicResource disable}" |
| 247 | + OnContent="{DynamicResource enable}" /> |
220 | 248 | </cc:Card> |
221 | 249 |
|
222 | 250 | <cc:Card |
223 | 251 | Title="{DynamicResource ShouldUsePinyin}" |
224 | 252 | Icon="" |
225 | 253 | Sub="{DynamicResource ShouldUsePinyinToolTip}"> |
226 | | - <ui:ToggleSwitch IsOn="{Binding Settings.ShouldUsePinyin}" |
227 | | - ToolTip="{DynamicResource ShouldUsePinyinToolTip}" /> |
| 254 | + <ui:ToggleSwitch |
| 255 | + IsOn="{Binding Settings.ShouldUsePinyin}" |
| 256 | + OffContent="{DynamicResource disable}" |
| 257 | + OnContent="{DynamicResource enable}" |
| 258 | + ToolTip="{DynamicResource ShouldUsePinyinToolTip}" /> |
228 | 259 | </cc:Card> |
229 | 260 |
|
230 | 261 | <cc:Card |
|
0 commit comments