From 72e325aee84f468b0dc1455db8d563d4192fbd24 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Tue, 24 Nov 2020 17:53:35 +0100 Subject: [PATCH] fix: set email dialog --- lib/components/matrix.dart | 4 ++-- lib/l10n/intl_en.arb | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/components/matrix.dart b/lib/components/matrix.dart index 8801dc87..168a9d95 100644 --- a/lib/components/matrix.dart +++ b/lib/components/matrix.dart @@ -100,7 +100,7 @@ class MatrixState extends State { ); } } - final storeItem = null; //await store.getItem(SettingKeys.showNoPid); + final storeItem = await store.getItem(SettingKeys.showNoPid); final configOptionMissing = storeItem == null || storeItem.isEmpty; if (configOptionMissing || (!configOptionMissing && storeItem == '1')) { if (configOptionMissing) { @@ -120,7 +120,7 @@ class MatrixState extends State { shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(6), ), - child: Text(L10n.of(context).passwordRecovery), + child: Text(L10n.of(context).edit), onPressed: () => Navigator.of(context).push( AppRoute.defaultRoute( context, diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 7140e405..86cc0b82 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -559,6 +559,11 @@ "type": "text", "placeholders": {} }, + "edit": "Edit", + "@edit": { + "type": "text", + "placeholders": {} + }, "enableEmotesGlobally": "Enable emote pack globally", "@enableEmotesGlobally": { "type": "text",