mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-12 20:19:05 +01:00
Minor fixes
- Fix categories modal showing when adding from source with no categories - Use old categories icon in library bottom action menu
This commit is contained in:
@@ -387,7 +387,10 @@ open class BrowseSourcePresenter(
|
||||
* @return List of categories, not including the default category
|
||||
*/
|
||||
suspend fun getCategories(): List<DomainCategory> {
|
||||
return getCategories.subscribe().firstOrNull() ?: emptyList()
|
||||
return getCategories.subscribe()
|
||||
.firstOrNull()
|
||||
?.filterNot { it.id == DomainCategory.UNCATEGORIZED_ID }
|
||||
?: emptyList()
|
||||
}
|
||||
|
||||
suspend fun getDuplicateLibraryManga(manga: DomainManga): DomainManga? {
|
||||
|
||||
Reference in New Issue
Block a user