mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 10:32:34 +00:00
Add comment to clarify the SteadyException case.
This commit is contained in:
+1
@@ -23,6 +23,7 @@ internal fun BackupUploadState.isBackingUp(): Boolean {
|
|||||||
return when (this) {
|
return when (this) {
|
||||||
BackupUploadState.Waiting,
|
BackupUploadState.Waiting,
|
||||||
is BackupUploadState.Uploading -> true
|
is BackupUploadState.Uploading -> true
|
||||||
|
// The backup is in progress, but there have been a network issue, so we have to warn the user.
|
||||||
is BackupUploadState.SteadyException -> exception is SteadyStateException.Connection
|
is BackupUploadState.SteadyException -> exception is SteadyStateException.Connection
|
||||||
BackupUploadState.Unknown,
|
BackupUploadState.Unknown,
|
||||||
BackupUploadState.Done,
|
BackupUploadState.Done,
|
||||||
|
|||||||
Reference in New Issue
Block a user