fix: Show syncing indicator on top of the nav bar
This commit is contained in:
parent
92718d2fab
commit
2ef74f5310
|
@ -351,6 +351,7 @@ fun HomeScreenContent(
|
|||
AnimatedVisibility(
|
||||
visible = bottomNavBarVisible,
|
||||
) {
|
||||
Box {
|
||||
Column(
|
||||
modifier = Modifier,
|
||||
) {
|
||||
|
@ -391,6 +392,7 @@ fun HomeScreenContent(
|
|||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
val isSyncingState = remember(
|
||||
accountStatusState,
|
||||
|
@ -400,7 +402,7 @@ fun HomeScreenContent(
|
|||
accountStatusState.value.pending != null
|
||||
}
|
||||
}
|
||||
AnimatedVisibility(
|
||||
androidx.compose.animation.AnimatedVisibility(
|
||||
visible = isSyncingState.value,
|
||||
) {
|
||||
LinearProgressIndicator(
|
||||
|
|
Loading…
Reference in New Issue