fix: Localize ok cancel alert dialogs
This commit is contained in:
parent
2724961e51
commit
4d5d198450
13 changed files with 37 additions and 4 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue