style(mobile): new_friends_screen 去掉无效空合并(dart analyze 清洁)

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
编码工程师
2026-08-16 03:06:19 +08:00
co-authored by multica-agent
parent b50ee2464c
commit c73e19c792
+2 -2
View File
@@ -36,8 +36,8 @@ class _NewFriendsScreenState extends State<NewFriendsScreen> {
OpenIM.iMManager.friendshipManager.getFriendApplicationListAsApplicant(),
]);
final merged = <FriendApplicationInfo>[
...(results[0] ?? <FriendApplicationInfo>[]),
...(results[1] ?? <FriendApplicationInfo>[]),
...results[0],
...results[1],
];
merged.sort((a, b) {
if ((a.handleResult ?? 0) == 0 && (b.handleResult ?? 0) != 0) return -1;