mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-18 07:44:26 +01:00
Will display the exception of Server Connection
This commit is contained in:
@@ -122,7 +122,7 @@ class _SnippetListPageState extends State<SnippetListPage> {
|
||||
final result = await locator<ServerProvider>()
|
||||
.runSnippet(_selectedIndex, snippet);
|
||||
if (result != null) {
|
||||
showRoundDialog(context, 'Result', Text(result), [
|
||||
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