Fix updates tab hiding if history is hidden

This commit is contained in:
Jobobby04 2022-12-03 19:23:41 -05:00
parent 652bf68859
commit c6af0456ed

View File

@ -57,7 +57,7 @@ object UpdatesTab : Tab {
override fun isEnabled(): Boolean {
val scope = rememberCoroutineScope()
return remember {
Injekt.get<UiPreferences>().showNavHistory().asState(scope)
Injekt.get<UiPreferences>().showNavUpdates().asState(scope)
}.value
}
// SY <--