File tree Expand file tree Collapse file tree 4 files changed +25
-6
lines changed Expand file tree Collapse file tree 4 files changed +25
-6
lines changed Original file line number Diff line number Diff line change 11
11
<AssemblyName >Files</AssemblyName >
12
12
<DefaultLanguage >en-US</DefaultLanguage >
13
13
<TargetPlatformIdentifier >UAP</TargetPlatformIdentifier >
14
- <TargetPlatformVersion Condition =" '$(TargetPlatformVersion)' == '' " >10.0.18327 .0</TargetPlatformVersion >
14
+ <TargetPlatformVersion Condition =" '$(TargetPlatformVersion)' == '' " >10.0.17763 .0</TargetPlatformVersion >
15
15
<TargetPlatformMinVersion >10.0.17134.0</TargetPlatformMinVersion >
16
16
<MinimumVisualStudioVersion >14</MinimumVisualStudioVersion >
17
17
<FileAlignment >512</FileAlignment >
290
290
<None Include =" Files_TemporaryKey.pfx" />
291
291
</ItemGroup >
292
292
<ItemGroup >
293
- <SDKReference Include =" WindowsDesktop, Version=10.0.18327 .0" >
293
+ <SDKReference Include =" WindowsDesktop, Version=10.0.17763 .0" >
294
294
<Name >Windows Desktop Extensions for the UWP</Name >
295
295
</SDKReference >
296
296
</ItemGroup >
Original file line number Diff line number Diff line change @@ -50,6 +50,24 @@ public MainPage()
50
50
accessibleAutoSuggestBox = auto_suggest ;
51
51
PopulateNavViewWithExternalDrives ( ) ;
52
52
53
+ //make the minimize, maximize and close button visible in light theme
54
+ if ( App . Current . RequestedTheme == ApplicationTheme . Dark )
55
+ {
56
+ titleBar . ButtonForegroundColor = Colors . White ;
57
+ }
58
+ else if ( App . Current . RequestedTheme == ApplicationTheme . Light )
59
+ {
60
+ titleBar . ButtonForegroundColor = Colors . Black ;
61
+ }
62
+
63
+ if ( this . RequestedTheme == ElementTheme . Dark )
64
+ {
65
+ titleBar . ButtonForegroundColor = Colors . White ;
66
+ }
67
+ else if ( this . RequestedTheme == ElementTheme . Light )
68
+ {
69
+ titleBar . ButtonForegroundColor = Colors . Black ;
70
+ }
53
71
}
54
72
55
73
public async void PopulateNavViewWithExternalDrives ( )
Original file line number Diff line number Diff line change 1
- <?xml version =" 1.0" encoding =" utf-8" ?>
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<configuration >
3
3
<startup >
4
- <supportedRuntime version =" v4.0" sku =" .NETFramework,Version=v4.7 " />
4
+ <supportedRuntime version =" v4.0" sku =" .NETFramework,Version=v4.6.1 " />
5
5
</startup >
6
- </configuration >
6
+ </configuration >
Original file line number Diff line number Diff line change 8
8
<OutputType >Exe</OutputType >
9
9
<RootNamespace >Launcher</RootNamespace >
10
10
<AssemblyName >Launcher</AssemblyName >
11
- <TargetFrameworkVersion >v4.7 </TargetFrameworkVersion >
11
+ <TargetFrameworkVersion >v4.6.1 </TargetFrameworkVersion >
12
12
<FileAlignment >512</FileAlignment >
13
13
<AutoGenerateBindingRedirects >true</AutoGenerateBindingRedirects >
14
14
<Deterministic >true</Deterministic >
15
+ <TargetFrameworkProfile />
15
16
</PropertyGroup >
16
17
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
17
18
<PlatformTarget >AnyCPU</PlatformTarget >
You can’t perform that action at this time.
0 commit comments