Reverted partial rogue commit

This commit is contained in:
Jay 2020-05-16 23:49:55 -04:00
parent 4d860c9396
commit 67a76da475

View File

@ -410,8 +410,7 @@ class LibraryPresenter(
): Int { ): Int {
return if (i1.header.category.id == i2.header.category.id) { return if (i1.header.category.id == i2.header.category.id) {
val category = i1.header.category val category = i1.header.category
if (!category.isDynamic && if (category.mangaOrder.isNullOrEmpty() && category.mangaSort == null) {
category.mangaOrder.isNullOrEmpty() && category.mangaSort == null) {
category.changeSortTo(preferences.librarySortingMode().getOrDefault()) category.changeSortTo(preferences.librarySortingMode().getOrDefault())
if (category.id == 0) preferences.defaultMangaOrder() if (category.id == 0) preferences.defaultMangaOrder()
.set(category.mangaSort.toString()) .set(category.mangaSort.toString())