解决controller丢失的问题

This commit is contained in:
2022-10-26 17:32:41 +08:00
parent 3dee865926
commit 0b189dc669
2 changed files with 3 additions and 3 deletions

View File

@@ -141,7 +141,7 @@ class TimService extends GetxService {
),
);
TimFriendService.to.friendshipManager.setFriendListener(
await TimFriendService.to.friendshipManager.setFriendListener(
listener: V2TimFriendshipListener(
/// 有新的好友请求
onFriendApplicationListAdded: (
@@ -193,7 +193,7 @@ class TimService extends GetxService {
),
);
instance.setGroupListener(
await instance.setGroupListener(
listener: V2TimGroupListener(
/// 群组解散
onGroupDismissed: (