mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 12:14:11 +00:00 
			
		
		
		
	Can remove members from conversation
This commit is contained in:
		@@ -14,9 +14,15 @@ class SimpleUserTile extends StatelessWidget {
 | 
			
		||||
  final User user;
 | 
			
		||||
  final OnUserTap onTap;
 | 
			
		||||
  final Widget trailing;
 | 
			
		||||
  final String subtitle;
 | 
			
		||||
 | 
			
		||||
  const SimpleUserTile({Key key, this.user, this.onTap, this.trailing})
 | 
			
		||||
      : assert(user != null),
 | 
			
		||||
  const SimpleUserTile({
 | 
			
		||||
    Key key,
 | 
			
		||||
    this.user,
 | 
			
		||||
    this.onTap,
 | 
			
		||||
    this.trailing,
 | 
			
		||||
    this.subtitle,
 | 
			
		||||
  })  : assert(user != null),
 | 
			
		||||
        super(key: key);
 | 
			
		||||
 | 
			
		||||
  @override
 | 
			
		||||
@@ -27,6 +33,7 @@ class SimpleUserTile extends StatelessWidget {
 | 
			
		||||
        user: user,
 | 
			
		||||
      ),
 | 
			
		||||
      title: Text(user.fullName),
 | 
			
		||||
      subtitle: subtitle == null ? null : Text(subtitle),
 | 
			
		||||
      trailing: trailing,
 | 
			
		||||
    );
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user