We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b71922 commit 5792fdaCopy full SHA for 5792fda
appnav/src/main/kotlin/io/element/android/appnav/loggedin/SyncStateView.kt
@@ -83,10 +83,10 @@ fun SyncStateView(
83
}
84
85
private fun SyncState.mustBeVisible() = when (this) {
86
- SyncState.Idle -> true
+ SyncState.Idle -> true /* Cold start of the app */
87
SyncState.Running -> false
88
SyncState.Error -> false /* In this case, the network error banner can be displayed */
89
- SyncState.Terminated -> false
+ SyncState.Terminated -> true /* The app is resumed and the sync is started again */
90
91
92
@DayNightPreviews
0 commit comments