Fix updates tab hiding if history is hidden
This commit is contained in:
@@ -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 <--
|
||||
|
||||
Reference in New Issue
Block a user