mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
fix: backup restore failed
This commit is contained in:
@@ -176,7 +176,10 @@ class BackupPage extends StatelessWidget {
|
||||
_privateKey.put(s);
|
||||
}
|
||||
for (final k in backup.dockerHosts.keys) {
|
||||
_dockerHosts.put(k, backup.dockerHosts[k]!);
|
||||
final val = backup.dockerHosts[k];
|
||||
if (val != null && val is String && val.isNotEmpty) {
|
||||
_dockerHosts.put(k, val);
|
||||
}
|
||||
}
|
||||
context.pop();
|
||||
showRoundDialog(
|
||||
|
||||
Reference in New Issue
Block a user