mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
can manually refresh when updateInterval==0
This commit is contained in:
@@ -122,7 +122,8 @@ class _SnippetListPageState extends State<SnippetListPage> {
|
||||
final result = await locator<ServerProvider>()
|
||||
.runSnippet(_selectedIndex, snippet);
|
||||
if (result != null) {
|
||||
showRoundDialog(context, 'Result', Text(result, style: const TextStyle(fontSize: 13)), [
|
||||
showRoundDialog(context, 'Result',
|
||||
Text(result, style: const TextStyle(fontSize: 13)), [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
child: const Text('Close'))
|
||||
|
||||
Reference in New Issue
Block a user