fix: Localize ok cancel alert dialogs

This commit is contained in:
Christian Pauly 2021-02-18 14:23:22 +01:00
commit 4d5d198450
13 changed files with 37 additions and 4 deletions

View file

@ -122,6 +122,8 @@ class ChatListItem extends StatelessWidget {
final confirmed = await showOkCancelAlertDialog(
context: context,
title: L10n.of(context).areYouSure,
okLabel: L10n.of(context).yes,
cancelLabel: L10n.of(context).no,
);
if (confirmed == OkCancelResult.cancel) return;
await showFutureLoadingDialog(