pull/871/head
gedoor 4 years ago
parent 1cf230c6e7
commit 18fa459547
  1. 4
      app/src/main/java/io/legado/app/help/coroutine/Coroutine.kt
  2. 2
      app/src/main/res/layout/dialog_read_padding.xml

@ -197,7 +197,9 @@ class Coroutine<T>(
return withContext(scope.coroutineContext.plus(context)) { return withContext(scope.coroutineContext.plus(context)) {
if (timeMillis > 0L) withTimeout(timeMillis) { if (timeMillis > 0L) withTimeout(timeMillis) {
block() block()
} else block() } else {
block()
}
} }
} }

@ -84,7 +84,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:title="@string/padding_top" app:title="@string/padding_top"
app:max="100" /> app:max="200" />
<io.legado.app.ui.widget.DetailSeekBar <io.legado.app.ui.widget.DetailSeekBar
android:id="@+id/dsb_padding_bottom" android:id="@+id/dsb_padding_bottom"

Loading…
Cancel
Save