pull/298/head
gedoor 4 years ago
parent 9939bfe05c
commit eba5b399f2
  1. 4
      app/src/main/java/io/legado/app/ui/book/read/config/ReadStyleDialog.kt
  2. 1
      app/src/main/res/values-zh-rHK/strings.xml
  3. 1
      app/src/main/res/values-zh-rTW/strings.xml
  4. 1
      app/src/main/res/values-zh/strings.xml
  5. 1
      app/src/main/res/values/strings.xml

@ -13,6 +13,7 @@ import androidx.fragment.app.DialogFragment
import io.legado.app.R import io.legado.app.R
import io.legado.app.constant.EventBus import io.legado.app.constant.EventBus
import io.legado.app.constant.PreferKey import io.legado.app.constant.PreferKey
import io.legado.app.help.AppConfig
import io.legado.app.help.ReadBookConfig import io.legado.app.help.ReadBookConfig
import io.legado.app.lib.dialogs.alert import io.legado.app.lib.dialogs.alert
import io.legado.app.lib.dialogs.selector import io.legado.app.lib.dialogs.selector
@ -202,6 +203,9 @@ class ReadStyleDialog : DialogFragment(), FontSelectDialog.CallBack {
upBg() upBg()
postEvent(EventBus.UP_CONFIG, true) postEvent(EventBus.UP_CONFIG, true)
} }
if (AppConfig.isEInkMode) {
toast(R.string.e_ink_change_bg)
}
} }
private fun showBgTextConfig(index: Int): Boolean { private fun showBgTextConfig(index: Int): Boolean {

@ -728,4 +728,5 @@
<string name="rule_replace_regex">替换规则(replaceRegex)</string> <string name="rule_replace_regex">替换规则(replaceRegex)</string>
<string name="group_name">分組名稱</string> <string name="group_name">分組名稱</string>
<string name="note_content">備註內容</string> <string name="note_content">備註內容</string>
<string name="e_ink_change_bg">E-Ink模式下只有白纸黑字,不显示其它背景</string>
</resources> </resources>

@ -728,5 +728,6 @@
<string name="rule_replace_regex">替换规则(replaceRegex)</string> <string name="rule_replace_regex">替换规则(replaceRegex)</string>
<string name="group_name">分組名稱</string> <string name="group_name">分組名稱</string>
<string name="note_content">備註內容</string> <string name="note_content">備註內容</string>
<string name="e_ink_change_bg">E-Ink模式下只有白纸黑字,不显示其它背景</string>
</resources> </resources>

@ -728,4 +728,5 @@
<string name="rule_replace_regex">替换规则(replaceRegex)</string> <string name="rule_replace_regex">替换规则(replaceRegex)</string>
<string name="group_name">分组名称</string> <string name="group_name">分组名称</string>
<string name="note_content">备注内容</string> <string name="note_content">备注内容</string>
<string name="e_ink_change_bg">E-Ink模式下只有白纸黑字,不显示其它背景</string>
</resources> </resources>

@ -729,5 +729,6 @@
<string name="read_config">Reading interface settings</string> <string name="read_config">Reading interface settings</string>
<string name="group_name">Group name</string> <string name="group_name">Group name</string>
<string name="note_content">Remarks section</string> <string name="note_content">Remarks section</string>
<string name="e_ink_change_bg">E-Ink模式下只有白纸黑字,不显示其它背景</string>
</resources> </resources>
Loading…
Cancel
Save