fix: Show syncing indicator on top of the nav bar

This commit is contained in:
Artem Chepurnoy 2024-02-26 13:03:50 +02:00
parent 92718d2fab
commit 2ef74f5310
No known key found for this signature in database
GPG Key ID: FAC37D0CF674043E
1 changed files with 40 additions and 38 deletions

View File

@ -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(