Feat: Fügt mounted-Check hinzu
This commit is contained in:
@@ -25,11 +25,13 @@ class _AccountListState extends State<AccountList> {
|
||||
_accounts = _accountController.accounts.value;
|
||||
|
||||
_accountController.accounts.addListener(() {
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
if (mounted) {
|
||||
_accounts = _accountController.accounts.value;
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user