Updated on 2026-08-14
This commit is contained in:
parent
4192ccab33
commit
70b8d28e18
1 changed files with 2 additions and 2 deletions
|
|
@ -70,13 +70,13 @@ internal class FeatureTogglesViewModel @Inject constructor(
|
|||
titleResId = R.string.feature_toggles,
|
||||
onBackClick = {},
|
||||
refreshButton = TopBarWithRefreshUM.RefreshButton(
|
||||
isVisible = false,
|
||||
isVisible = !isMatchLocalConfig,
|
||||
onRefreshClick = ::onRefreshClick,
|
||||
),
|
||||
)
|
||||
} else {
|
||||
uiState.topBar.copy(
|
||||
refreshButton = uiState.topBar.refreshButton.copy(isVisible = isMatchLocalConfig),
|
||||
refreshButton = uiState.topBar.refreshButton.copy(isVisible = !isMatchLocalConfig),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue