Skip to content

Commit

Permalink
Set forceDarkAllowed to false
Browse files Browse the repository at this point in the history
  • Loading branch information
iSoron committed Dec 30, 2020
1 parent 011abf6 commit dbc6a16
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion android/uhabits-android/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
~ with this program. If not, see <http://www.gnu.org/licenses/>.
-->

<resources>
<resources xmlns:tools="http://schemas.android.com/tools">
<style name="AppBaseTheme" parent="@style/Theme.AppCompat.Light.NoActionBar">
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
<item name="android:dialogTheme">@style/Theme.AppCompat.Light.Dialog</item>
<item name="android:alertDialogTheme">@style/Theme.AppCompat.Light.Dialog</item>
Expand Down Expand Up @@ -75,6 +76,7 @@
</style>

<style name="AppBaseThemeDark" parent="@style/Theme.AppCompat.NoActionBar">
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
<item name="android:dialogTheme">@style/Theme.AppCompat.Dialog</item>
<item name="android:alertDialogTheme">@style/Theme.AppCompat.Dialog</item>
Expand Down Expand Up @@ -127,6 +129,7 @@
</style>

<style name="AppBaseThemeDark.PureBlack">
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>
<item name="selectedBackground">@drawable/selected_box_amoled</item>
<item name="cardBackground">@drawable/card_amoled_background</item>

Expand Down

0 comments on commit dbc6a16

Please sign in to comment.