We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c94effb commit efa5e73Copy full SHA for efa5e73
lib/account/view/add_country_to_follow_page.dart
@@ -85,6 +85,9 @@ class _AddCountryToFollowPageState extends State<AddCountryToFollowPage> {
85
}
86
87
return BlocBuilder<AccountBloc, AccountState>(
88
+ buildWhen: (previous, current) =>
89
+ previous.preferences?.followedCountries != current.preferences?.followedCountries ||
90
+ previous.status != current.status,
91
builder: (context, accountState) {
92
final followedCountries =
93
accountState.preferences?.followedCountries ?? [];
0 commit comments