diff --git a/mobile/lib/screens/new_friends_screen.dart b/mobile/lib/screens/new_friends_screen.dart index 70380f5..a807728 100644 --- a/mobile/lib/screens/new_friends_screen.dart +++ b/mobile/lib/screens/new_friends_screen.dart @@ -36,8 +36,8 @@ class _NewFriendsScreenState extends State { OpenIM.iMManager.friendshipManager.getFriendApplicationListAsApplicant(), ]); final merged = [ - ...(results[0] ?? []), - ...(results[1] ?? []), + ...results[0], + ...results[1], ]; merged.sort((a, b) { if ((a.handleResult ?? 0) == 0 && (b.handleResult ?? 0) != 0) return -1;