diff --git a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt
index 8f822aa48..98242b195 100644
--- a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt
+++ b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt
@@ -206,6 +206,9 @@ class ReadBookActivity : BaseReadBookActivity(),
autoPageStop()
return@addCallback
}
+ if (getPrefBoolean("disableReturnKey") && !menuLayoutIsVisible) {
+ return@addCallback
+ }
finish()
}
}
diff --git a/app/src/main/res/xml/pref_config_read.xml b/app/src/main/res/xml/pref_config_read.xml
index 8bcca89a8..677aeae73 100644
--- a/app/src/main/res/xml/pref_config_read.xml
+++ b/app/src/main/res/xml/pref_config_read.xml
@@ -149,6 +149,13 @@
app:iconSpaceReserved="false"
app:isBottomBackground="true" />
+
+
+ android:title="@string/show_read_title_addition" />
+ android:title="@string/read_bar_style_follow_page" />
\ No newline at end of file