mirror of
https://github.com/gedoor/legado.git
synced 2024-07-19 01:06:36 +08:00
优化
This commit is contained in:
parent
8ff5b2abf9
commit
5d9c9e0537
@ -206,6 +206,9 @@ class ReadBookActivity : BaseReadBookActivity(),
|
||||
autoPageStop()
|
||||
return@addCallback
|
||||
}
|
||||
if (getPrefBoolean("disableReturnKey") && !menuLayoutIsVisible) {
|
||||
return@addCallback
|
||||
}
|
||||
finish()
|
||||
}
|
||||
}
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user