提交
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user