fix to bottom anchor

This commit is contained in:
Pfeil, Scott Robert 2020-06-01 11:59:28 -04:00
parent 5d877a453a
commit 40240f4501

View File

@ -873,7 +873,7 @@ CGFloat const PanelAnimationDuration = 0.2;
if (tabs) {
[self addTabBar:tabs];
} else {
NSLayoutConstraint *bottom = [self.view.safeAreaLayoutGuide.bottomAnchor constraintEqualToAnchor:progressView.bottomAnchor];
NSLayoutConstraint *bottom = [self.view.bottomAnchor constraintEqualToAnchor:progressView.bottomAnchor];
bottom.active = YES;
self.bottomConstraint = bottom;
}