File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 196
196
<system : String x : Key =" Clock" >Clock</system : String >
197
197
<system : String x : Key =" Date" >Date</system : String >
198
198
<system : String x : Key =" BackdropType" >Backdrop Type</system : String >
199
+ <system : String x : Key =" BackdropTypeDisabledToolTip" >Backdrop supported starting from Windows 11 build 22000 and above</system : String >
199
200
<system : String x : Key =" BackdropTypesNone" >None</system : String >
200
201
<system : String x : Key =" BackdropTypesAcrylic" >Acrylic</system : String >
201
202
<system : String x : Key =" BackdropTypesMica" >Mica</system : String >
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ namespace Flow.Launcher.SettingPages.ViewModels;
21
21
public partial class SettingsPaneThemeViewModel : BaseModel
22
22
{
23
23
private const string DefaultFont = "Segoe UI" ;
24
+ public string BackdropSubText => ! Win32Helper . IsBackdropSupported ( ) ? App . API . GetTranslation ( "BackdropTypeDisabledToolTip" ) : "" ;
24
25
public Settings Settings { get ; }
25
26
private readonly Theme _theme = Ioc . Default . GetRequiredService < Theme > ( ) ;
26
27
Original file line number Diff line number Diff line change 468
468
<cc : Card
469
469
Title =" {DynamicResource BackdropType}"
470
470
Margin =" 0 0 0 0"
471
- Icon ="  " >
471
+ Icon ="  "
472
+ Sub =" {Binding BackdropSubText}" >
472
473
<ComboBox
473
474
MinWidth =" 160"
474
475
VerticalAlignment =" Center"
478
479
ItemsSource =" {Binding BackdropTypesList}"
479
480
SelectedValue =" {Binding BackdropType, Mode=TwoWay}"
480
481
SelectedValuePath =" Value" />
481
- <!-- ✅ 추가 -->
482
482
</cc : Card >
483
483
484
484
<!-- Drop shadow effect -->
You can’t perform that action at this time.
0 commit comments