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(
|
AnimatedVisibility(
|
||||||
visible = bottomNavBarVisible,
|
visible = bottomNavBarVisible,
|
||||||
) {
|
) {
|
||||||
|
Box {
|
||||||
Column(
|
Column(
|
||||||
modifier = Modifier,
|
modifier = Modifier,
|
||||||
) {
|
) {
|
||||||
|
@ -391,6 +392,7 @@ fun HomeScreenContent(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
val isSyncingState = remember(
|
val isSyncingState = remember(
|
||||||
accountStatusState,
|
accountStatusState,
|
||||||
|
@ -400,7 +402,7 @@ fun HomeScreenContent(
|
||||||
accountStatusState.value.pending != null
|
accountStatusState.value.pending != null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
AnimatedVisibility(
|
androidx.compose.animation.AnimatedVisibility(
|
||||||
visible = isSyncingState.value,
|
visible = isSyncingState.value,
|
||||||
) {
|
) {
|
||||||
LinearProgressIndicator(
|
LinearProgressIndicator(
|
||||||
|
|
Loading…
Reference in New Issue