Implement missing account settings
This commit is contained in:
parent
4a71884bbe
commit
3d999b6ba0
6 changed files with 106 additions and 1 deletions
|
|
@ -79,6 +79,7 @@ class SimpleDialogs {
|
|||
String contentText,
|
||||
String confirmText,
|
||||
String cancelText,
|
||||
bool dangerous = false,
|
||||
}) async {
|
||||
var confirmed = false;
|
||||
await showDialog(
|
||||
|
|
@ -98,6 +99,7 @@ class SimpleDialogs {
|
|||
child: Text(
|
||||
confirmText?.toUpperCase() ??
|
||||
L10n.of(context).confirm.toUpperCase(),
|
||||
style: TextStyle(color: dangerous ? Colors.red : null),
|
||||
),
|
||||
onPressed: () {
|
||||
confirmed = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue