This commit is contained in:
Horis committed 2023-08-02 12:22:12 +08:00
1 parent 262f16a978
commit 21f2b47071
2 files changed
+12 -2

No files matched your search

@@ -206,6 +206,9 @@ class ReadBookActivity : BaseReadBookActivity(),
autoPageStop()
return@addCallback
}
if (getPrefBoolean("disableReturnKey") && !menuLayoutIsVisible) {
return@addCallback
}
finish()
}
}
+9 -2
View File
@@ -149,6 +149,13 @@
app:iconSpaceReserved="false"
app:isBottomBackground="true" />
<io.legado.app.lib.prefs.SwitchPreference
android:defaultValue="false"
android:key="disableReturnKey"
android:title="@string/disable_return_key"
app:iconSpaceReserved="false"
app:isBottomBackground="true" />
<io.legado.app.lib.prefs.Preference
android:key="customPageKey"
android:title="@string/custom_page_key"
@@ -165,10 +172,10 @@
<io.legado.app.lib.prefs.SwitchPreference
android:defaultValue="true"
android:key="showReadTitleAddition"
android:title="@string/show_read_title_addition"/>
android:title="@string/show_read_title_addition" />
<io.legado.app.lib.prefs.SwitchPreference
android:defaultValue="false"
android:key="readBarStyleFollowPage"
android:title="@string/read_bar_style_follow_page"/>
android:title="@string/read_bar_style_follow_page" />
</androidx.preference.PreferenceScreen>