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

@ -76,6 +76,8 @@ class _Settings3PidState extends State<Settings3Pid> {
if (await showOkCancelAlertDialog(
context: context,
title: L10n.of(context).areYouSure,
okLabel: L10n.of(context).yes,
cancelLabel: L10n.of(context).cancel,
) !=
OkCancelResult.ok) {
return;