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 fe7d19b commit dbecfceCopy full SHA for dbecfce
lib/page/profile/profilePage.dart
@@ -261,7 +261,7 @@ class _ProfilePageState extends State<ProfilePage>
261
}
262
263
isFollower() {
264
- var authstate = Provider.of<AuthState>(context);
+ var authstate = Provider.of<AuthState>(context, listen: false);
265
if (authstate.profileUserModel.followersList != null &&
266
authstate.profileUserModel.followersList.isNotEmpty) {
267
return (authstate.profileUserModel.followersList
0 commit comments