proto cleanup

This commit is contained in:
Christien Rioux 2023-09-26 18:46:02 -04:00
parent f951acd79a
commit a93c711d52
84 changed files with 2393 additions and 2087 deletions

View file

@ -157,8 +157,10 @@ class NewAccountPageState extends ConsumerState<NewAccountPage> {
try {
await createAccount();
} on Exception catch (e) {
await showErrorModal(
context, translate('new_account_page.error'), 'Exception: $e');
if (context.mounted) {
await showErrorModal(context, translate('new_account_page.error'),
'Exception: $e');
}
}
},
).paddingSymmetric(horizontal: 24, vertical: 8),