mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-05-10 20:04:52 +02:00
add no offline data status indicator
This commit is contained in:
@@ -28,6 +28,12 @@ class NetworkStatusIndicator extends StatelessWidget {
|
||||
color = Colors.orange;
|
||||
break;
|
||||
|
||||
case NetworkStatusType.noData:
|
||||
message = 'No offline data';
|
||||
icon = Icons.cloud_off;
|
||||
color = Colors.grey;
|
||||
break;
|
||||
|
||||
case NetworkStatusType.issues:
|
||||
switch (networkStatus.currentIssueType) {
|
||||
case NetworkIssueType.osmTiles:
|
||||
|
||||
Reference in New Issue
Block a user