Fix updates tab hiding if history is hidden
This commit is contained in:
parent
652bf68859
commit
c6af0456ed
1 changed files with 1 additions and 1 deletions
|
|
@ -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 <--
|
||||
|
|
|
|||
Loading…
Reference in a new issue