|
3 | 3 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
4 | 4 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
5 | 5 | xmlns:cc="clr-namespace:Flow.Launcher.Resources.Controls" |
| 6 | + xmlns:converters="clr-namespace:Flow.Launcher.Converters" |
6 | 7 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
7 | 8 | xmlns:ext="clr-namespace:Flow.Launcher.Resources.MarkupExtensions" |
8 | 9 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
9 | 10 | xmlns:settingsViewModels="clr-namespace:Flow.Launcher.SettingPages.ViewModels" |
10 | 11 | xmlns:ui="http://schemas.modernwpf.com/2019" |
11 | | - xmlns:converters="clr-namespace:Flow.Launcher.Converters" |
12 | 12 | xmlns:userSettings="clr-namespace:Flow.Launcher.Infrastructure.UserSettings;assembly=Flow.Launcher.Infrastructure" |
13 | 13 | Title="General" |
14 | 14 | d:DataContext="{d:DesignInstance settingsViewModels:SettingsPaneGeneralViewModel}" |
|
32 | 32 | Style="{StaticResource PageTitle}" |
33 | 33 | Text="{DynamicResource general}" |
34 | 34 | TextAlignment="left" /> |
35 | | - |
| 35 | + |
36 | 36 | <cc:ExCard |
37 | 37 | Title="{DynamicResource startFlowLauncherOnSystemStartup}" |
38 | 38 | Margin="0 8 0 0" |
|
288 | 288 | SelectedValue="{Binding Language}" |
289 | 289 | SelectedValuePath="LanguageCode" /> |
290 | 290 | </cc:Card> |
291 | | - <cc:InfoBar Margin="0 12 0 0" |
292 | | - Title="{DynamicResource KoreanImeTitle}" |
293 | | - Closable="False" |
294 | | - IsIconVisible="True" |
295 | | - Length="Long" |
296 | | - Message="{DynamicResource KoreanImeGuide}" |
297 | | - Type="Warning" /> |
298 | | - <cc:CardGroup Margin="0 4 0 0"> |
| 291 | + <Border Visibility="{Binding KoreanIMERegistryKeyExists, Converter={StaticResource BoolToVisibilityConverter}}"> |
| 292 | + <cc:InfoBar |
| 293 | + Title="{DynamicResource KoreanImeTitle}" |
| 294 | + Margin="0 12 0 0" |
| 295 | + Closable="False" |
| 296 | + IsIconVisible="True" |
| 297 | + Length="Long" |
| 298 | + Message="{DynamicResource KoreanImeGuide}" |
| 299 | + Type="Info" |
| 300 | + Visibility="{Binding LegacyKoreanIMEEnabled, Converter={StaticResource BoolToVisibilityConverter}, ConverterParameter=Inverted, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" /> |
| 301 | + </Border> |
| 302 | + <cc:CardGroup Margin="0 4 0 0" Visibility="{Binding KoreanIMERegistryKeyExists, Converter={StaticResource BoolToVisibilityConverter}}"> |
299 | 303 | <cc:Card |
300 | 304 | Title="{DynamicResource KoreanImeRegistry}" |
301 | | - Icon="" Sub="{DynamicResource KoreanImeRegistryTooltip}"> |
| 305 | + Icon="" |
| 306 | + Sub="{DynamicResource KoreanImeRegistryTooltip}"> |
302 | 307 | <ui:ToggleSwitch |
303 | 308 | IsOn="{Binding LegacyKoreanIMEEnabled}" |
304 | 309 | OffContent="{DynamicResource disable}" |
305 | 310 | OnContent="{DynamicResource enable}" /> |
306 | 311 | </cc:Card> |
307 | 312 | <cc:Card |
308 | 313 | Title="{DynamicResource KoreanImeOpenLink}" |
309 | | - Sub="{DynamicResource KoreanImeOpenLinkTooltip}" |
310 | | - Icon=""> |
311 | | - <Button Content="{DynamicResource KoreanImeOpenLinkButton}" Command="{Binding OpenImeSettingsCommand}"/> |
| 314 | + Icon="" |
| 315 | + Sub="{DynamicResource KoreanImeOpenLinkTooltip}"> |
| 316 | + <Button Command="{Binding OpenImeSettingsCommand}" Content="{DynamicResource KoreanImeOpenLinkButton}" /> |
312 | 317 | </cc:Card> |
313 | 318 | </cc:CardGroup> |
314 | 319 | </VirtualizingStackPanel> |
|
0 commit comments