mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-10 22:15:10 +01:00
Reverted partial rogue commit
This commit is contained in:
parent
4d860c9396
commit
67a76da475
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user