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
Show only verified users tweets on feed page #149
Comments
If you want to display tweets of verified user then check for isVarified value in |
Like this brother? 👇 ` List list;
|
Try this. if (x.user.userId == userModel.userId || (userModel?.followingList != null
&& userModel.followingList.contains(x.user.userId) && x.user.isVerified)) {
return true;
} else {
return false;
} |
Ok brother i will but I don't wanna show following tweets so can I remove it like this?
|
If you don't want to see following user's tweets then use below. if (x.user.userId == userModel.userId || (userModel?.followingList != null
&& !userModel.followingList.contains(x.user.userId) && x.user.isVerified)) {
return true;
} else {
return false;
} |
Ok i try and tell u brother. |
Only this code working well brother to show only verified users tweet on feed page
|
Yes this code will work but you also will be able to see all users tweets whether you are following them or not. |
Yes thats what i need 😜 |
Hi brother! Hope well!
I just want to change news feed to show only verified users post (no followers post) for discover page. Can you guide me please.
The text was updated successfully, but these errors were encountered: