Merge branch 'bugfix/tab_bar_init' into 'develop'

Tab bar padding fix

See merge request BPHV_MIPS/mvm_core_ui!566
This commit is contained in:
Hedden, Kyle Matthew 2020-08-20 15:24:05 -04:00
commit 4f52d877a0

View File

@ -808,7 +808,7 @@ CGFloat const PanelAnimationDuration = 0.2;
self.tabBar.hidden = !showing;
self.bottomConstraint.active = NO;
if (showing && self.tabBar) {
NSLayoutConstraint *bottom = [self.view.safeAreaLayoutGuide.bottomAnchor constraintEqualToAnchor:self.tabBar.bottomAnchor];
NSLayoutConstraint *bottom = [self.view.bottomAnchor constraintEqualToAnchor:self.tabBar.bottomAnchor];
bottom.active = YES;
self.bottomConstraint = bottom;
} else {