Implement missing account settings

This commit is contained in:
Christian Pauly 2020-09-21 17:50:01 +02:00
commit 3d999b6ba0
6 changed files with 106 additions and 1 deletions

View file

@ -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;