Commit 1596bd197a72ee35c3407f697f01f8d5f3b8969d
1 parent
001618e5
no message
Showing
1 changed file
with
1 additions
and
1 deletions
CNLiveSettingModule/Classes/Controller/CNLiveSettingController.m
| @@ -269,7 +269,7 @@ static const NSInteger timeValue = 1.5; | @@ -269,7 +269,7 @@ static const NSInteger timeValue = 1.5; | ||
| 269 | - (UIButton *)logout{ | 269 | - (UIButton *)logout{ |
| 270 | if(!_logout){ | 270 | if(!_logout){ |
| 271 | _logout = [UIButton buttonWithType:UIButtonTypeCustom]; | 271 | _logout = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 272 | - _logout.frame = CGRectMake(0, SCREEN_HEIGHT-NavigationContentTop, SCREEN_WIDTH, 50); | 272 | + _logout.frame = CGRectMake(0, SCREEN_HEIGHT-SafeAreaInsetsConstantForDeviceWithNotch.bottom-50, SCREEN_WIDTH, 50); |
| 273 | _logout.backgroundColor = [UIColor whiteColor]; | 273 | _logout.backgroundColor = [UIColor whiteColor]; |
| 274 | _logout.titleLabel.font = [UIFont boldSystemFontOfSize:17]; | 274 | _logout.titleLabel.font = [UIFont boldSystemFontOfSize:17]; |
| 275 | [_logout setTitleColor:[UIColor redColor] forState:UIControlStateNormal]; | 275 | [_logout setTitleColor:[UIColor redColor] forState:UIControlStateNormal]; |