-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Profile Pic Bug #80
Comments
@teloanus This is a known issue right now. The profile picture is not updated in old tweets because when user creates a tweet his name, profile picture URL is saved with tweets information in db and in new tweets it gets new profile URL. How to fix thisThis issue can be fix if user info can fetched from The disadvantage of getting user info for every tweet is that it will create several active connections with database and leads to slow app performance. |
For workaround user updated information can be taken from the search state. final searchState = Provider.of<SearchState>(context, listen: false);
model.user.profilePic = searchState.userlist.firstWhere((x) => x.userId == model.user.userId).profilePic; |
@TheAlphamerc can we make that this change in real time, now work just when we close app and reopen? |
@emiravdovic to make it realtime you can add pull to refresh functionality on the search page. Once you refresh user's list it will update the profile pic |
sir. is this issues clear already ? "Profile Picture bug ".
because i still got the problem. for example. when we upload the new profile picture then we post a tweet. then on the recent tweet will show our new profile picture which is correct, while in the old post.. the profile picture still shows the old one. I mean why it doesn't change for all automatically. Thanks sir.
The text was updated successfully, but these errors were encountered: