mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Remove report group icon on groups list if user is already a member of the group
This commit is contained in:
		@@ -83,13 +83,11 @@ class _GroupsListScreenState extends SafeState<GroupsListScreen> {
 | 
				
			|||||||
                            onPressed: () => _deleteGroup(g)),
 | 
					                            onPressed: () => _deleteGroup(g)),
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        // Report button
 | 
					                        // Report button
 | 
				
			||||||
                        srvConfig!.isReportingEnabled
 | 
					                        srvConfig!.isReportingEnabled && !g.isAtLeastMember
 | 
				
			||||||
                            ? IconButton(
 | 
					                            ? IconButton(
 | 
				
			||||||
                                visualDensity: VisualDensity.compact,
 | 
					 | 
				
			||||||
                                onPressed: () => _reportGroup(g),
 | 
					                                onPressed: () => _reportGroup(g),
 | 
				
			||||||
                                icon: Icon(
 | 
					                                icon: Icon(
 | 
				
			||||||
                                  Icons.flag,
 | 
					                                  Icons.flag,
 | 
				
			||||||
                                  size: 15.0,
 | 
					 | 
				
			||||||
                                ),
 | 
					                                ),
 | 
				
			||||||
                              )
 | 
					                              )
 | 
				
			||||||
                            : Container()
 | 
					                            : Container()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user