This commit is contained in:
liyuhua
2023-10-10 15:45:37 +08:00
parent 7b9674c13f
commit c0af92b7bc
2 changed files with 8 additions and 3 deletions

View File

@@ -23,6 +23,8 @@ NS_ASSUME_NONNULL_BEGIN
///开箱子 大于等级 展示
@property (nonatomic, assign) NSInteger openCandyTreeLimitLevel;
@property (nonatomic,assign) BOOL canOpen;
///是否刷新了
@property (nonatomic,assign) BOOL isLoad;
///房间id用于分享房间跳转到房间
@property (nonatomic, copy) NSString *__nullable roomId;
///用户id用于外部h5跳转到聊天页面

View File

@@ -135,10 +135,13 @@ UIKIT_EXTERN NSString *kTabShowAnchorCardKey;
[super viewDidLoad];
[self.presenter autoLogin];
[self configTheme];
[self initTabs:NO];
[[ClientConfig shareConfig] clientInit];
if([ClientConfig shareConfig].isLoad == NO){
[[ClientConfig shareConfig] clientInit];
[ClientConfig shareConfig].isLoad = YES;
}
[[NIMSDK sharedSDK].loginManager addDelegate:self];
[[NIMSDK sharedSDK].chatManager addDelegate:self];
[[NIMSDK sharedSDK].systemNotificationManager addDelegate:self];
@@ -174,7 +177,7 @@ UIKIT_EXTERN NSString *kTabShowAnchorCardKey;
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[self.navigationController setNavigationBarHidden:YES animated:YES];
[self.presenter autoLogin];
if ([XPRoomMiniManager shareManager].getRoomInfo == nil) {
[self.roomMineView hiddenRoomMiniView];
}