opt dialog style

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-01-30 17:56:35 +08:00
parent d2c5ba058d
commit dec1820694
5 changed files with 155 additions and 92 deletions

View File

@@ -1426,12 +1426,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),