diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt index fce944223..eeb5fef6e 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt @@ -126,6 +126,7 @@ class LibraryController( init { setHasOptionsMenu(true) + retainViewMode = RetainViewMode.RETAIN_DETACH } override fun getTitle(): String? { @@ -425,7 +426,7 @@ class LibraryController( presenter.onOpenManga() router.pushController(RouterTransaction.with(MangaController(manga)) - .pushChangeHandler(FadeChangeHandler(false)) + .pushChangeHandler(FadeChangeHandler()) .popChangeHandler(FadeChangeHandler())) } diff --git a/app/src/main/res/layout/manga_controller.xml b/app/src/main/res/layout/manga_controller.xml index dcc74b37a..27421c4c5 100644 --- a/app/src/main/res/layout/manga_controller.xml +++ b/app/src/main/res/layout/manga_controller.xml @@ -3,5 +3,4 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/view_pager" android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="?android:attr/colorBackground" /> \ No newline at end of file + android:layout_height="match_parent" /> \ No newline at end of file