mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-20 16:55:17 +00:00
Users can report their own generated content (thanks Google Play reviewers)
This commit is contained in:
@ -135,7 +135,9 @@ class _AboutUserSectionState extends State<AboutUserSection> {
|
||||
),
|
||||
|
||||
// Report user
|
||||
!widget.user.isCurrentUser && srvConfig!.isReportingEnabled
|
||||
srvConfig!.isReportingEnabled &&
|
||||
(!widget.user.isCurrentUser ||
|
||||
srvConfig!.reportPolicy!.canUserReportHisOwnContent)
|
||||
? ListTile(
|
||||
textColor: Colors.red,
|
||||
leading: Icon(Icons.flag, color: Colors.red),
|
||||
|
Reference in New Issue
Block a user