页面与路由完善
This commit is contained in:
@@ -30,8 +30,9 @@ class ImTools {
|
||||
}
|
||||
|
||||
static String parseNicknameFromInfo(V2TimFriendInfo infoResult) {
|
||||
if (infoResult.friendRemark != '') {
|
||||
return infoResult.friendRemark!;
|
||||
if (infoResult.friendRemark != null &&
|
||||
infoResult.friendRemark!.isNotEmpty) {
|
||||
return infoResult.friendRemark ?? '';
|
||||
}
|
||||
|
||||
return infoResult.userProfile!.nickName!;
|
||||
|
||||
Reference in New Issue
Block a user