From ef49fc91d8c40a45efab6661f9dfe78e147bc732 Mon Sep 17 00:00:00 2001 From: arkon Date: Tue, 6 Apr 2021 23:21:21 -0400 Subject: [PATCH] Minor cleanup --- .../java/eu/kanade/tachiyomi/util/lang/RxCoroutineBridge.kt | 2 +- app/src/main/res/layout/reader_general_settings.xml | 4 ++-- app/src/main/res/layout/reader_pager_settings.xml | 2 +- app/src/main/res/layout/reader_reading_mode_settings.xml | 4 ++-- app/src/main/res/layout/reader_webtoon_settings.xml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/util/lang/RxCoroutineBridge.kt b/app/src/main/java/eu/kanade/tachiyomi/util/lang/RxCoroutineBridge.kt index 19cb1886e..ba35b24e5 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/util/lang/RxCoroutineBridge.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/util/lang/RxCoroutineBridge.kt @@ -41,7 +41,7 @@ private suspend fun Observable.awaitOne(): T = suspendCancellableCoroutin } override fun onError(e: Throwable) { - /* +/* * Rx1 observable throws NoSuchElementException if cancellation happened before * element emission. To mitigate this we try to atomically resume continuation with exception: * if resume failed, then we know that continuation successfully cancelled itself diff --git a/app/src/main/res/layout/reader_general_settings.xml b/app/src/main/res/layout/reader_general_settings.xml index 4886aebb8..a5690708c 100644 --- a/app/src/main/res/layout/reader_general_settings.xml +++ b/app/src/main/res/layout/reader_general_settings.xml @@ -3,11 +3,11 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="wrap_content"> + android:layout_height="wrap_content">