This commit is contained in:
启星
2026-01-14 20:36:58 +08:00
parent 705d891c51
commit 5548f5d6a5
64 changed files with 482 additions and 103 deletions

View File

@@ -11,7 +11,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface TUIC2CChatViewController : TUIBaseChatViewController
@property (nonatomic,assign)BOOL isServices;
@end
NS_ASSUME_NONNULL_END

View File

@@ -48,11 +48,15 @@
}
-(void)viewWillAppear:(BOOL)animated{
[super viewWillAppear:animated];
NSInteger isCanChat = [[NSUserDefaults standardUserDefaults] integerForKey:@"kIsCanChat"];
if (isCanChat != 1) {
self.bottomToolBtn.hidden = NO;
}else{
if (self.isServices) {
self.bottomToolBtn.hidden = YES;
}else{
NSInteger isCanChat = [[NSUserDefaults standardUserDefaults] integerForKey:@"kIsCanChat"];
if (isCanChat != 1) {
self.bottomToolBtn.hidden = NO;
}else{
self.bottomToolBtn.hidden = YES;
}
}
}
-(void)viewDidLayoutSubviews{