|
|
@ -139,8 +139,8 @@ class AccountsBloc extends $AccountsBloc { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
UserDetailsBloc getUserDetailsBloc(final Account account) { |
|
|
|
UserDetailsBloc getUserDetailsBloc(final Account account) { |
|
|
|
if (_userDetailsBlocs[account] != null) { |
|
|
|
if (_userDetailsBlocs[account.id] != null) { |
|
|
|
return _userDetailsBlocs[account]!; |
|
|
|
return _userDetailsBlocs[account.id]!; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return _userDetailsBlocs[account.id] = UserDetailsBloc( |
|
|
|
return _userDetailsBlocs[account.id] = UserDetailsBloc( |
|
|
@ -150,8 +150,8 @@ class AccountsBloc extends $AccountsBloc { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
UserStatusBloc getUserStatusBloc(final Account account) { |
|
|
|
UserStatusBloc getUserStatusBloc(final Account account) { |
|
|
|
if (_userStatusBlocs[account] != null) { |
|
|
|
if (_userStatusBlocs[account.id] != null) { |
|
|
|
return _userStatusBlocs[account]!; |
|
|
|
return _userStatusBlocs[account.id]!; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return _userStatusBlocs[account.id] = UserStatusBloc( |
|
|
|
return _userStatusBlocs[account.id] = UserStatusBloc( |
|
|
|