礼物值清除
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#import "MicroQueueModel.h"
|
||||
#import "UserInfoModel.h"
|
||||
#import "MicroStateModel.h"
|
||||
#import "RoomInfoModel.h"
|
||||
|
||||
#import "NetImageView.h"
|
||||
|
||||
@@ -367,6 +368,7 @@
|
||||
}
|
||||
|
||||
- (void)showUserCard:(NSInteger)uid {
|
||||
RoomInfoModel * roomInfo = self.hostDelegate.getRoomInfo;
|
||||
NSString * targetUid = [NSString stringWithFormat:@"%ld", uid];
|
||||
XPUserCardInfoModel * model = [[XPUserCardInfoModel alloc] init];
|
||||
[[self.hostDelegate.getMicroQueue allValues] enumerateObjectsUsingBlock:^(MicroQueueModel * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
|
||||
@@ -378,7 +380,14 @@
|
||||
}
|
||||
}];
|
||||
model.uid = targetUid;
|
||||
XPUserCardViewController * userCardVC = [[XPUserCardViewController alloc] initWithUser:model delegate:self.hostDelegate];
|
||||
model.roomId = [NSString stringWithFormat:@"%ld", roomInfo.roomId];
|
||||
model.leaveMode = roomInfo.leaveMode;
|
||||
model.showGiftValue = roomInfo.showGiftValue;
|
||||
model.avatar = roomInfo.avatar;
|
||||
model.roomUid = [NSString stringWithFormat:@"%ld", roomInfo.uid];
|
||||
model.nick = self.hostDelegate.getUserInfo.nick;
|
||||
model.delegate = self.hostDelegate;
|
||||
XPUserCardViewController * userCardVC = [[XPUserCardViewController alloc] initWithUser:model];
|
||||
[self.hostDelegate.getCurrentNav presentViewController:userCardVC animated:YES completion:nil];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user