fix: set email dialog

This commit is contained in:
Christian Pauly 2020-11-24 17:53:35 +01:00
parent c1bf767dc1
commit 72e325aee8
2 changed files with 7 additions and 2 deletions

View File

@ -100,7 +100,7 @@ class MatrixState extends State<Matrix> {
);
}
}
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<Matrix> {
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,

View File

@ -559,6 +559,11 @@
"type": "text",
"placeholders": {}
},
"edit": "Edit",
"@edit": {
"type": "text",
"placeholders": {}
},
"enableEmotesGlobally": "Enable emote pack globally",
"@enableEmotesGlobally": {
"type": "text",