From c72da0ad8ed1bb8eeca380fb3f95a1dd33a01bbd Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 14 Feb 2021 10:20:45 +0100 Subject: [PATCH] fix: Bootstrap dialog --- lib/components/dialogs/bootstrap_dialog.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/components/dialogs/bootstrap_dialog.dart b/lib/components/dialogs/bootstrap_dialog.dart index 2f48616b..c1afec9b 100644 --- a/lib/components/dialogs/bootstrap_dialog.dart +++ b/lib/components/dialogs/bootstrap_dialog.dart @@ -230,11 +230,11 @@ class _BootstrapDialogState extends State { )); break; case BootstrapState.done: - titleText = L10n.of(context).everythingReady; + titleText = widget.l10n.everythingReady; body = ListTile( contentPadding: EdgeInsets.zero, leading: Icon(Icons.check_circle, color: Colors.green), - title: Text(L10n.of(context).keysCached), + title: Text(widget.l10n.keysCached), ); buttons.add(AdaptiveFlatButton( child: Text(widget.l10n.close),