File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 42
42
Height =" 30"
43
43
Margin =" 2,0,2,0"
44
44
Background =" Transparent"
45
- Command =" {x:Bind local1:App. AppSettings.ToggleLayoutMode}"
46
- Content =" {x:Bind local1:App. AppSettings.ToggleLayoutModeIcon, Mode=OneWay}"
45
+ Command =" {x:Bind AppSettings.ToggleLayoutMode}"
46
+ Content =" {x:Bind AppSettings.ToggleLayoutModeIcon, Mode=OneWay}"
47
47
CornerRadius =" 2"
48
48
FontFamily =" Segoe MDL2 Assets"
49
49
FontSize =" 16" />
Original file line number Diff line number Diff line change 1
- using System ;
1
+ using Files . View_Models ;
2
+ using System ;
2
3
using System . Collections . Generic ;
3
4
using System . IO ;
4
5
using System . Linq ;
@@ -19,6 +20,7 @@ namespace Files.UserControls
19
20
{
20
21
public sealed partial class StatusBarControl : UserControl
21
22
{
23
+ public SettingsViewModel AppSettings => App . AppSettings ;
22
24
public StatusBarControl ( )
23
25
{
24
26
this . InitializeComponent ( ) ;
You can’t perform that action at this time.
0 commit comments