mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Fixup "scroll down" button so it doesn't fall behind toolbar
This commit is contained in:
parent
fd22c6cf20
commit
126d41e542
|
@ -535,6 +535,7 @@ typedef enum : NSUInteger {
|
|||
{
|
||||
[super loadView];
|
||||
|
||||
// make sure toolbar extends below iPhoneX home button.
|
||||
self.view.backgroundColor = [UIColor ows_toolbarBackgroundColor];
|
||||
}
|
||||
|
||||
|
@ -2582,8 +2583,7 @@ typedef enum : NSUInteger {
|
|||
[self.scrollDownButton autoSetDimension:ALDimensionWidth toSize:ConversationScrollButton.buttonSize];
|
||||
[self.scrollDownButton autoSetDimension:ALDimensionHeight toSize:ConversationScrollButton.buttonSize];
|
||||
|
||||
self.scrollDownButtonButtomConstraint =
|
||||
[self.scrollDownButton autoPinEdge:ALEdgeBottom toEdge:ALEdgeBottom ofView:self.collectionView];
|
||||
self.scrollDownButtonButtomConstraint = [self.scrollDownButton autoPinEdgeToSuperviewMargin:ALEdgeBottom];
|
||||
[self.scrollDownButton autoPinEdgeToSuperviewEdge:ALEdgeTrailing];
|
||||
|
||||
#ifdef DEBUG
|
||||
|
|
|
@ -91,7 +91,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
|
||||
+ (UIColor *)ows_toolbarBackgroundColor
|
||||
{
|
||||
return [self colorWithWhite:245 / 255.f alpha:1.f];
|
||||
return self.ows_navbarBackgroundColor;
|
||||
}
|
||||
|
||||
+ (UIColor *)ows_lightBackgroundColor
|
||||
|
|
Loading…
Reference in a new issue