This commit is contained in:
lollipopkit
2023-08-10 18:05:24 +08:00
parent cf1c9643b9
commit 4788f1dddc
8 changed files with 56 additions and 47 deletions

View File

@@ -89,7 +89,7 @@ class BackupPage extends StatelessWidget {
spis: _server.fetch(),
snippets: _snippet.fetch(),
keys: _privateKey.fetch(),
dockerHosts: _dockerHosts.fetch(),
dockerHosts: _dockerHosts.fetchAll(),
),
),
);
@@ -170,7 +170,7 @@ class BackupPage extends StatelessWidget {
_privateKey.put(s);
}
for (final k in backup.dockerHosts.keys) {
_dockerHosts.setDockerHost(k, backup.dockerHosts[k]!);
_dockerHosts.put(k, backup.dockerHosts[k]!);
}
context.pop();
showRoundDialog(