@ -129,5 +129,8 @@ fun Context.shareWithQr(title: String, text: String) {
val Context.isNightTheme: Boolean
get() = getPrefBoolean("isNightTheme")
val Context.isEInkMode: Boolean
get() = getPrefBoolean("isEInkMode")
val Context.isTransparentStatusBar: Boolean
get() = getPrefBoolean("transparentStatusBar", true)
@ -447,6 +447,7 @@
<string name="switch_display_style">切换显示样式</string>
<string name="import_per">导入本地书籍需存储权限</string>
<string name="night_theme">夜间模式</string>
<string name="eink_theme">E-Ink 模式</string>
<string name="get_storage_per">本软件需要存储权限来存储备份书籍信息</string>
<string name="double_click_exit">再按一次退出程序</string>
<string name="import_book_per">导入本地书籍需存储权限</string>
@ -18,6 +18,12 @@
android:title="@string/night_theme"
app:iconSpaceReserved="false" />
<io.legado.app.lib.theme.prefs.ATESwitchPreference
android:defaultValue="false"
android:key="isEInkMode"
android:title="@string/eink_theme"
android:key="webService"