Skip to content

Commit b693809

Browse files
committed
fix: android:forceDarkAllowed to values-v29/styles.xml in order to work with compile sdk 28
1 parent 384dc93 commit b693809

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources xmlns:android="http://schemas.android.com/apk/res/android">
3+
4+
<!-- Application theme -->
5+
<style name="AppTheme" parent="AppThemeBase">
6+
<item name="android:forceDarkAllowed">true</item>
7+
</style>
8+
9+
</resources>

src/app-resources/_files/__name__/Android/values/styles.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
<!-- theme to use AFTER launch screen is loaded-->
2323
<style name="AppThemeBase" parent="Theme.AppCompat.Light.NoActionBar">
24-
<item name="android:forceDarkAllowed">true</item>
2524
<item name="toolbarStyle">@style/NativeScriptToolbarStyle</item>
2625

2726
<item name="colorPrimary">@color/ns_primary</item>

0 commit comments

Comments
 (0)