mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-10 05:05:08 +01:00
Fixed default category sort not sticking
This commit is contained in:
parent
943dcff33e
commit
7a03231ede
@ -627,7 +627,7 @@ class LibraryPresenter(
|
||||
val sort = category.sortingMode() ?: LibrarySort.ALPHA
|
||||
preferences.librarySortingMode().set(sort)
|
||||
preferences.librarySortingAscending().set(category.isAscending())
|
||||
} else if (catId > 0) {
|
||||
} else if (catId >= 0) {
|
||||
if (category.id == 0) preferences.defaultMangaOrder().set(category.mangaSort.toString())
|
||||
else Injekt.get<DatabaseHelper>().insertCategory(category).executeAsBlocking()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user