Sfoglia il codice sorgente

Fix reader background color (fixes #2694)

arkon 5 anni fa
parent
commit
24b848faac
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      app/src/main/res/values/themes.xml

+ 2 - 0
app/src/main/res/values/themes.xml

@@ -151,6 +151,7 @@
         <item name="colorPrimaryDark">@color/readerColorDarkPrimary</item>
         <item name="colorSurface">@android:color/black</item>
 
+        <item name="android:colorBackground">@android:color/black</item>
         <item name="android:statusBarColor">?attr/colorPrimaryDark</item>
         <item name="android:navigationBarColor">?attr/colorPrimaryDark</item>
     </style>
@@ -160,6 +161,7 @@
         <item name="colorPrimaryDark">@color/readerColorDarkPrimary</item>
         <item name="colorSurface">@android:color/white</item>
 
+        <item name="android:colorBackground">@android:color/white</item>
         <item name="android:statusBarColor">?attr/colorPrimaryDark</item>
         <item name="android:navigationBarColor">?attr/colorPrimaryDark</item>
     </style>