pull/2189/head
kunfei 2 years ago
parent 69e607988d
commit 5fe9ae68a3
  1. 3
      app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt
  2. 3
      app/src/main/res/xml/pref_config_read.xml

@ -506,6 +506,9 @@ class ReadView(context: Context, attrs: AttributeSet) :
callBack.screenOffTimerStart()
}
/**
* 更新滑动距离
*/
fun upPageSlopSquare() {
val pageTouchSlop = AppConfig.pageTouchSlop
this.pageSlopSquare = if (pageTouchSlop == 0) slopSquare else pageTouchSlop

@ -96,7 +96,8 @@
android:key="pageTouchSlop"
android:summary="@string/page_touch_slop_summary"
android:title="@string/page_touch_slop_title"
app:iconSpaceReserved="false" />
app:iconSpaceReserved="false"
app:isBottomBackground="true" />
<io.legado.app.lib.prefs.SwitchPreference
android:defaultValue="true"

Loading…
Cancel
Save