mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
default: mac window size & opt.: snippet result
This commit is contained in:
@@ -134,15 +134,9 @@ class _SnippetListPageState extends State<SnippetListPage> {
|
||||
return;
|
||||
}
|
||||
final ids = servers.map((e) => e.spi.id).toList();
|
||||
final names = servers.map((e) => e.spi.name).toList();
|
||||
final results = await Pros.server.runSnippetsMulti(ids, [snippet]);
|
||||
final results = await Pros.server.runSnippetsMulti(ids, snippet);
|
||||
if (results.isNotEmpty) {
|
||||
// SERVER_NAME: RESULT
|
||||
final result = Map.fromIterables(
|
||||
names,
|
||||
results,
|
||||
);
|
||||
AppRoute.snippetResult(results: result).go(context);
|
||||
AppRoute.snippetResult(results: results).go(context);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user