Ignore Dark Mode

This commit is contained in:
TheJoKlLa 2021-09-20 18:55:16 +02:00
parent 7b0cf64d0e
commit 2bb024fcbc
3 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,7 @@
using Android.App; using Android.App;
using Android.Content.PM; using Android.Content.PM;
using Android.OS; using Android.OS;
using AndroidX.AppCompat.App;
namespace Borepin.Droid namespace Borepin.Droid
{ {
@ -10,6 +11,8 @@ namespace Borepin.Droid
{ {
protected override void OnCreate(Bundle savedInstanceState) protected override void OnCreate(Bundle savedInstanceState)
{ {
AppCompatDelegate.DefaultNightMode = AppCompatDelegate.ModeNightNo;
TabLayoutResource = Resource.Layout.Tabbar; TabLayoutResource = Resource.Layout.Tabbar;
ToolbarResource = Resource.Layout.Toolbar; ToolbarResource = Resource.Layout.Toolbar;

View File

@ -2,6 +2,5 @@
x:Class="Borepin.UWP.App" x:Class="Borepin.UWP.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Borepin.UWP"> xmlns:local="using:Borepin.UWP" RequestedTheme="Light">
</Application> </Application>

View File

@ -40,5 +40,7 @@
<false/> <false/>
<key>NFCReaderUsageDescription</key> <key>NFCReaderUsageDescription</key>
<string>FabAccess needs to be able to read your card for authentication with the server.</string> <string>FabAccess needs to be able to read your card for authentication with the server.</string>
<key>UIUserInterfaceStyle</key>
<string>Light</string>
</dict> </dict>
</plist> </plist>