mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-25 01:41:50 +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