Commit 1596bd197a72ee35c3407f697f01f8d5f3b8969d

Authored by zhangxiaowen
1 parent 001618e5

no message

CNLiveSettingModule/Classes/Controller/CNLiveSettingController.m
... ... @@ -269,7 +269,7 @@ static const NSInteger timeValue = 1.5;
269 269 - (UIButton *)logout{
270 270 if(!_logout){
271 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 273 _logout.backgroundColor = [UIColor whiteColor];
274 274 _logout.titleLabel.font = [UIFont boldSystemFontOfSize:17];
275 275 [_logout setTitleColor:[UIColor redColor] forState:UIControlStateNormal];
... ...