fix desktop dialog request focus

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-01-28 17:10:40 +08:00
parent 3e4a867115
commit 19f04f29c0
3 changed files with 7 additions and 5 deletions

View File

@@ -666,6 +666,8 @@ Future<bool?> verificationCodeDialog(UserPayload? user) async {
child: const LinearProgressIndicator()),
],
),
onCancel: close,
onSubmit: onVerify,
actions: [
dialogButton("Cancel", onPressed: close, isOutline: true),
dialogButton("Verify", onPressed: onVerify),