mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Fix all warnings
This commit is contained in:
		@@ -316,6 +316,9 @@ class _NotificationTile extends StatelessWidget {
 | 
			
		||||
      case _PopupMenuActions.DELETE:
 | 
			
		||||
        onDelete(notification);
 | 
			
		||||
        break;
 | 
			
		||||
 | 
			
		||||
      default:
 | 
			
		||||
        break;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -88,7 +88,7 @@ class _OtherUserFriendsListScreenState
 | 
			
		||||
          user: _usersInfo!.getUser(_friendsList.elementAt(i)),
 | 
			
		||||
          onTap: (u) => openUserPage(
 | 
			
		||||
            context: context,
 | 
			
		||||
            userID: u.id!,
 | 
			
		||||
            userID: u.id,
 | 
			
		||||
          ),
 | 
			
		||||
        ),
 | 
			
		||||
      ),
 | 
			
		||||
 
 | 
			
		||||
@@ -97,7 +97,7 @@ class _SearchResultUser extends StatelessWidget {
 | 
			
		||||
        user: user,
 | 
			
		||||
      ),
 | 
			
		||||
      title: Text(user.displayName),
 | 
			
		||||
      onTap: () => MainController.of(context)!.openUserPage(user.id!),
 | 
			
		||||
      onTap: () => MainController.of(context)!.openUserPage(user.id),
 | 
			
		||||
    );
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -102,7 +102,7 @@ class _UnreadConversationsScreenState
 | 
			
		||||
            ? _groups!.getGroup(conv.conv.groupID)
 | 
			
		||||
            : null,
 | 
			
		||||
      ),
 | 
			
		||||
      title: Text(ConversationsHelper.getConversationName(conv.conv, _users)!),
 | 
			
		||||
      title: Text(ConversationsHelper.getConversationName(conv.conv, _users)),
 | 
			
		||||
      subtitle: RichText(
 | 
			
		||||
        text: TextSpan(style: Theme.of(context).textTheme.bodyText2, children: [
 | 
			
		||||
          TextSpan(
 | 
			
		||||
 
 | 
			
		||||
@@ -282,7 +282,7 @@ class _UpdateConversationScreen extends State<UpdateConversationScreen> {
 | 
			
		||||
  void _toggleAdminStatus(User user) async {
 | 
			
		||||
    try {
 | 
			
		||||
      final setAdmin = !_admins.contains(user.id);
 | 
			
		||||
      await ConversationsHelper.setAdmin(_conversation.id!, user.id!, setAdmin);
 | 
			
		||||
      await ConversationsHelper.setAdmin(_conversation.id!, user.id, setAdmin);
 | 
			
		||||
 | 
			
		||||
      setState(() {
 | 
			
		||||
        if (!setAdmin)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user