Fix emoji going crazy and fix tabs being visible when library is empty (#7811)

fixes #7792
fixes #7791
This commit is contained in:
Andreas
2022-08-19 13:22:46 +02:00
committed by GitHub
parent 301cae13f0
commit 47b56644de
4 changed files with 8 additions and 7 deletions

View File

@@ -98,6 +98,8 @@ class LibraryPresenter(
var loadedManga by mutableStateOf(emptyMap<Long, List<LibraryItem>>())
private set
val isLibraryEmpty by derivedStateOf { loadedManga.isEmpty() }
val tabVisibility by preferences.categoryTabs().asState()
val mangaCountVisibility by preferences.categoryNumberOfItems().asState()