Merge pull request #663 from ente-io/fix_copy

Fix cases
This commit is contained in:
Neeraj Gupta 2022-11-21 20:14:58 +05:30 committed by GitHub
commit 1e18531c5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ class SyncService {
} on WiFiUnavailableError { } on WiFiUnavailableError {
_logger.warning("Not uploading over mobile data"); _logger.warning("Not uploading over mobile data");
Bus.instance.fire( Bus.instance.fire(
SyncStatusUpdate(SyncStatus.paused, reason: "waiting for WiFi..."), SyncStatusUpdate(SyncStatus.paused, reason: "Waiting for WiFi..."),
); );
} on SyncStopRequestedError { } on SyncStopRequestedError {
_syncStopRequested = false; _syncStopRequested = false;
@ -127,7 +127,7 @@ class SyncService {
Bus.instance.fire( Bus.instance.fire(
SyncStatusUpdate( SyncStatusUpdate(
SyncStatus.paused, SyncStatus.paused,
reason: "waiting for network...", reason: "Waiting for network...",
), ),
); );
_logger.severe("unable to connect", e, StackTrace.current); _logger.severe("unable to connect", e, StackTrace.current);