From 67a76da475dc8dccf60907ccd1d5b9471d8617ad Mon Sep 17 00:00:00 2001 From: Jay Date: Sat, 16 May 2020 23:49:55 -0400 Subject: [PATCH] Reverted partial rogue commit --- .../java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt index 353079201a..69caea4e8d 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt @@ -410,8 +410,7 @@ class LibraryPresenter( ): Int { return if (i1.header.category.id == i2.header.category.id) { val category = i1.header.category - if (!category.isDynamic && - category.mangaOrder.isNullOrEmpty() && category.mangaSort == null) { + if (category.mangaOrder.isNullOrEmpty() && category.mangaSort == null) { category.changeSortTo(preferences.librarySortingMode().getOrDefault()) if (category.id == 0) preferences.defaultMangaOrder() .set(category.mangaSort.toString())