Feat: Fügt mounted-Check hinzu

This commit is contained in:
2026-01-01 15:18:42 +01:00
parent 4014757319
commit b9a7ef0dfa

View File

@@ -25,11 +25,13 @@ class _AccountListState extends State<AccountList> {
_accounts = _accountController.accounts.value;
_accountController.accounts.addListener(() {
setState(() {
if (mounted) {
_accounts = _accountController.accounts.value;
}
});
if (mounted) {
setState(() {
if (mounted) {
_accounts = _accountController.accounts.value;
}
});
}
});
}