Show generic error
This commit is contained in:
parent
895f9bf410
commit
8394ec72ce
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ class _SecuritySectionWidgetState extends State<SecuritySectionWidget> {
|
|||
try {
|
||||
await UserService.instance.updateEmailMFA(isEnabled);
|
||||
} catch (e) {
|
||||
showToast(context, "Error updating email MFA");
|
||||
showToast(context, context.l10n.somethingWentWrongMessage);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue