|
@@ -169,7 +169,7 @@ public class HomeView : JCUnityLib.ViewBase
|
|
|
if (friendBarContent == null) {
|
|
if (friendBarContent == null) {
|
|
|
friendBarContent = transform.Find("FriendBar/Scroll View/Viewport/Content");
|
|
friendBarContent = transform.Find("FriendBar/Scroll View/Viewport/Content");
|
|
|
}
|
|
}
|
|
|
- while (UserPlayer.ins == null || !UserPlayer.ins.loginAuthed) {
|
|
|
|
|
|
|
+ while (UserPlayer.ins == null || !UserPlayer.ins.loginAuthed || !UserPlayer.ins.hasGetUserInfo) {
|
|
|
yield return null;
|
|
yield return null;
|
|
|
}
|
|
}
|
|
|
Action<JArray> cb = RenderFriendList;
|
|
Action<JArray> cb = RenderFriendList;
|
|
@@ -215,7 +215,7 @@ public class HomeView : JCUnityLib.ViewBase
|
|
|
if (friendBarContent == null) {
|
|
if (friendBarContent == null) {
|
|
|
friendBarContent = transform.Find("FriendBar/Scroll View/Viewport/Content");
|
|
friendBarContent = transform.Find("FriendBar/Scroll View/Viewport/Content");
|
|
|
}
|
|
}
|
|
|
- while (UserPlayer.ins == null || !UserPlayer.ins.loginAuthed) {
|
|
|
|
|
|
|
+ while (UserPlayer.ins == null || !UserPlayer.ins.loginAuthed || !UserPlayer.ins.hasGetUserInfo) {
|
|
|
yield return null;
|
|
yield return null;
|
|
|
}
|
|
}
|
|
|
Action<JArray> cb = RenderFriendRankList;
|
|
Action<JArray> cb = RenderFriendRankList;
|