diff --git a/lib/services/sync_service.dart b/lib/services/sync_service.dart index 44c22294f..44a32f4b6 100644 --- a/lib/services/sync_service.dart +++ b/lib/services/sync_service.dart @@ -103,7 +103,8 @@ class SyncService { error: StorageLimitExceededError())); } catch (e, s) { _logger.severe(e, s); - Bus.instance.fire(SyncStatusUpdate(SyncStatus.error)); + Bus.instance + .fire(SyncStatusUpdate(SyncStatus.error, reason: "backup failed")); } finally { _isSyncInProgress = false; } diff --git a/lib/ui/sync_indicator.dart b/lib/ui/sync_indicator.dart index 7530a6141..f0906bd91 100644 --- a/lib/ui/sync_indicator.dart +++ b/lib/ui/sync_indicator.dart @@ -105,6 +105,7 @@ class _SyncIndicatorState extends State { Widget _getErrorWidget() { if (_event.error is NoActiveSubscriptionError) { return Container( + margin: EdgeInsets.only(top: 8), child: Column( children: [ Row( @@ -140,6 +141,7 @@ class _SyncIndicatorState extends State { ); } else if (_event.error is StorageLimitExceededError) { return Container( + margin: EdgeInsets.only(top: 8), child: Column( children: [ Row( @@ -151,7 +153,7 @@ class _SyncIndicatorState extends State { color: Theme.of(context).accentColor, ), Padding(padding: EdgeInsets.all(4)), - Text("storage quota exceeded, backups paused"), + Text("storage quota exceeded"), ], ), Padding(padding: EdgeInsets.all(6)),