fix: Signup on matrix.org

This commit is contained in:
Krille Fear 2021-11-04 17:10:16 +01:00
commit 87bc60717e
2 changed files with 4 additions and 5 deletions

View file

@ -101,7 +101,9 @@ class SignupPageController extends State<SignupPage> {
} catch (e) {
error = (e as Object).toLocalizedString(context);
} finally {
setState(() => loading = false);
if (mounted) {
setState(() => loading = false);
}
}
}