fix: Bootstrap dialog

This commit is contained in:
Christian Pauly 2021-02-14 10:20:45 +01:00
parent c60484b47e
commit c72da0ad8e

View File

@ -230,11 +230,11 @@ class _BootstrapDialogState extends State<BootstrapDialog> {
)); ));
break; break;
case BootstrapState.done: case BootstrapState.done:
titleText = L10n.of(context).everythingReady; titleText = widget.l10n.everythingReady;
body = ListTile( body = ListTile(
contentPadding: EdgeInsets.zero, contentPadding: EdgeInsets.zero,
leading: Icon(Icons.check_circle, color: Colors.green), leading: Icon(Icons.check_circle, color: Colors.green),
title: Text(L10n.of(context).keysCached), title: Text(widget.l10n.keysCached),
); );
buttons.add(AdaptiveFlatButton( buttons.add(AdaptiveFlatButton(
child: Text(widget.l10n.close), child: Text(widget.l10n.close),