fix: Dialogs

This commit is contained in:
Christian Pauly 2021-01-19 15:46:43 +01:00
commit e15a549375
11 changed files with 104 additions and 68 deletions

View file

@ -36,7 +36,10 @@ class _ChatEncryptionSettingsState extends State<ChatEncryptionSettings> {
setState(() => null);
}
};
await KeyVerificationDialog(request: req).show(context);
await KeyVerificationDialog(
request: req,
l10n: L10n.of(context),
).show(context);
break;
case 'verify_manual':
if (await showOkCancelAlertDialog(
@ -59,7 +62,10 @@ class _ChatEncryptionSettingsState extends State<ChatEncryptionSettings> {
setState(() => null);
}
};
await KeyVerificationDialog(request: req).show(context);
await KeyVerificationDialog(
request: req,
l10n: L10n.of(context),
).show(context);
break;
case 'block':
if (key.directVerified) {