mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-09 05:25:08 +01:00
Fixed #760
This commit is contained in:
parent
d5c7b09908
commit
91a9b721bc
@ -661,7 +661,7 @@ class LibraryPresenter(
|
|||||||
|
|
||||||
/** Create a default category with the sort set */
|
/** Create a default category with the sort set */
|
||||||
private fun createDefaultCategory(): Category {
|
private fun createDefaultCategory(): Category {
|
||||||
val default = Category.createDefault(context)
|
val default = Category.createDefault(view.applicationContext ?: context)
|
||||||
default.order = -1
|
default.order = -1
|
||||||
val defOrder = preferences.defaultMangaOrder().getOrDefault()
|
val defOrder = preferences.defaultMangaOrder().getOrDefault()
|
||||||
if (defOrder.firstOrNull()?.isLetter() == true) default.mangaSort = defOrder.first()
|
if (defOrder.firstOrNull()?.isLetter() == true) default.mangaSort = defOrder.first()
|
||||||
|
Loading…
Reference in New Issue
Block a user