mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-18 07:44:26 +01:00
Change app name
This commit is contained in:
@@ -183,7 +183,13 @@ class _ServerPageState extends State<ServerPage>
|
||||
case ServerConnectionState.connecting:
|
||||
return 'Connecting...';
|
||||
case ServerConnectionState.failed:
|
||||
return failedInfo ?? 'Failed';
|
||||
if (failedInfo == null) {
|
||||
return 'Failed';
|
||||
}
|
||||
if (failedInfo.contains('encypted')) {
|
||||
return 'Please "save" this private key again.';
|
||||
}
|
||||
return failedInfo;
|
||||
default:
|
||||
return 'Unknown State';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user