Fix how sync progress is displayed (#624)

This commit is contained in:
Michal Fousek 2023-03-07 14:00:55 +01:00 committed by GitHub
parent d528f7ecf7
commit b7baaf16aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ struct SyncStatusSnapshot: Equatable {
return SyncStatusSnapshot(state, "Error: \(err.localizedDescription)")
case .syncing(let progress):
return SyncStatusSnapshot(state, "\(String(format: "%0.2f", progress.progress))% Synced")
return SyncStatusSnapshot(state, "\(String(format: "%0.1f", progress.progress * 100))% Synced")
}
}
}