mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-21 01:23:20 +03:00
refactor
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user