This commit is contained in:
rustdesk
2021-08-02 20:54:56 +08:00
parent 0cdef55e3d
commit 600f604611
4 changed files with 71 additions and 100 deletions

View File

@@ -300,15 +300,15 @@ void showServer(BuildContext context) {
),
])),
[
FlatButton(
textColor: MyTheme.accent,
TextButton(
style: flatButtonStyle,
onPressed: () {
Navigator.pop(context);
},
child: Text(translate('Cancel')),
),
FlatButton(
textColor: MyTheme.accent,
TextButton(
style: flatButtonStyle,
onPressed: () {
if (formKey.currentState.validate()) {
formKey.currentState.save();