From 6222b47a4f518a7c92631aa6962b42624f41ac4b Mon Sep 17 00:00:00 2001 From: arkon Date: Tue, 6 Apr 2021 22:31:26 -0400 Subject: [PATCH] Flip crop borders and orientation toggles --- .../tachiyomi/util/lang/RxCoroutineBridge.kt | 2 +- app/src/main/res/layout/reader_activity.xml | 34 +++++++++---------- 2 files changed, 18 insertions(+), 18 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 ce760e03d..19cb1886e 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_activity.xml b/app/src/main/res/layout/reader_activity.xml index 0c8b2a8e1..b2079fc77 100644 --- a/app/src/main/res/layout/reader_activity.xml +++ b/app/src/main/res/layout/reader_activity.xml @@ -158,25 +158,12 @@ android:background="?selectableItemBackgroundBorderless" android:contentDescription="@string/viewer" android:padding="@dimen/material_layout_keylines_screen_edge_margin" - app:layout_constraintEnd_toStartOf="@id/action_rotation" + app:layout_constraintEnd_toStartOf="@id/action_crop_borders" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:srcCompat="@drawable/ic_reader_default_24dp" app:tint="?attr/colorOnPrimary" /> - - + +