#54 run multiple snippets

This commit is contained in:
lollipopkit
2023-07-08 00:12:15 +08:00
parent cb16b3a8b6
commit fefd3f9701
25 changed files with 326 additions and 116 deletions

View File

@@ -134,6 +134,7 @@ class _SFTPPageState extends State<SFTPPage> {
onPressed: () async {
final idx = await showRoundDialog(
context: context,
title: Text(_s.choose),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
@@ -517,6 +518,7 @@ class _SFTPPageState extends State<SFTPPage> {
if (textController.text == '') {
showRoundDialog(
context: context,
title: Text(_s.attention),
child: Text(_s.fieldMustNotEmpty),
actions: [
TextButton(
@@ -559,6 +561,7 @@ class _SFTPPageState extends State<SFTPPage> {
if (textController.text == '') {
showRoundDialog(
context: context,
title: Text(_s.attention),
child: Text(_s.fieldMustNotEmpty),
actions: [
TextButton(