|
@@ -104,28 +104,28 @@ class _SyncIndicatorState extends State<SyncIndicator> {
|
|
|
if (_event == null ||
|
|
|
_event.status == SyncStatus.applying_local_diff ||
|
|
|
_event.status == SyncStatus.applying_remote_diff) {
|
|
|
- return "Syncing...";
|
|
|
+ return "syncing...";
|
|
|
}
|
|
|
if (_event.status == SyncStatus.preparing_for_upload) {
|
|
|
- return "Encrypting backup...";
|
|
|
+ return "encrypting backup...";
|
|
|
}
|
|
|
if (_event.status == SyncStatus.in_progress) {
|
|
|
return _event.completed.toString() +
|
|
|
"/" +
|
|
|
_event.total.toString() +
|
|
|
- " memories preserved.";
|
|
|
+ " memories preserved";
|
|
|
}
|
|
|
if (_event.status == SyncStatus.paused) {
|
|
|
return _event.reason;
|
|
|
}
|
|
|
if (_event.status == SyncStatus.completed) {
|
|
|
if (_event.wasStopped) {
|
|
|
- return "Sync stopped.";
|
|
|
+ return "sync stopped";
|
|
|
} else {
|
|
|
- return "All memories preserved.";
|
|
|
+ return "all memories preserved";
|
|
|
}
|
|
|
}
|
|
|
// _event.status == SyncStatus.error)
|
|
|
- return "Upload failed.";
|
|
|
+ return "upload failed";
|
|
|
}
|
|
|
}
|