Merge pull request #3014 from 21pages/dialog-style

opt ui
This commit is contained in:
RustDesk
2023-01-31 09:55:58 +08:00
committed by GitHub
9 changed files with 242 additions and 172 deletions

View File

@@ -1432,12 +1432,8 @@ void showConfirmSwitchSidesDialog(
}
return CustomAlertDialog(
title: Text(translate('Switch Sides')),
content: Column(
children: [
Text(translate('Please confirm if you want to share your desktop?')),
],
),
content: msgboxContent('info', 'Switch Sides',
'Please confirm if you want to share your desktop?'),
actions: [
dialogButton('Cancel', onPressed: close, isOutline: true),
dialogButton('OK', onPressed: submit),