瀏覽代碼

Fix reader background color (fixes #2694)

arkon 5 年之前
父節點
當前提交
24b848faac
共有 1 個文件被更改,包括 2 次插入0 次删除
  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>