|
|
@@ -96,7 +96,7 @@ class MainController extends BaseController {
|
|
|
|
|
|
loginSubscription = accountRepository.isLogin.listen((isLogin) {
|
|
|
if (isLogin == false) {
|
|
|
- _selectedFriend.value = null;
|
|
|
+ _selectedFriend.value = mineUserInfo;
|
|
|
}
|
|
|
});
|
|
|
friendsListSubscription = _friendsList.listen((list) {
|
|
|
@@ -365,7 +365,12 @@ class MainController extends BaseController {
|
|
|
}
|
|
|
|
|
|
void _autoSelectFriend() {
|
|
|
- if (lastCheckFriendId == null || isExecuteAutoSelect) {
|
|
|
+ if (isExecuteAutoSelect) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (lastCheckFriendId == null) {
|
|
|
+ _setSelectUserInfo(mineUserInfo);
|
|
|
+ isExecuteAutoSelect = true;
|
|
|
return;
|
|
|
}
|
|
|
for (var value in integrateList) {
|