mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
conversation view scrolls behind bars
This commit is contained in:
parent
f8abe32ae9
commit
d5fa7f9b25
1 changed files with 1 additions and 3 deletions
|
@ -559,15 +559,13 @@ typedef enum : NSUInteger {
|
||||||
self.collectionView.keyboardDismissMode = UIScrollViewKeyboardDismissModeInteractive;
|
self.collectionView.keyboardDismissMode = UIScrollViewKeyboardDismissModeInteractive;
|
||||||
self.collectionView.backgroundColor = [UIColor whiteColor];
|
self.collectionView.backgroundColor = [UIColor whiteColor];
|
||||||
[self.view addSubview:self.collectionView];
|
[self.view addSubview:self.collectionView];
|
||||||
[self.collectionView autoPinWidthToSuperview];
|
[self.collectionView autoPinEdgesToSuperviewEdges];
|
||||||
[self.collectionView autoPinToTopLayoutGuideOfViewController:self withInset:0];
|
|
||||||
|
|
||||||
[self.collectionView applyScrollViewInsetsFix];
|
[self.collectionView applyScrollViewInsetsFix];
|
||||||
|
|
||||||
_inputToolbar = [[ConversationInputToolbar alloc] initWithConversationStyle:self.conversationStyle];
|
_inputToolbar = [[ConversationInputToolbar alloc] initWithConversationStyle:self.conversationStyle];
|
||||||
self.inputToolbar.inputToolbarDelegate = self;
|
self.inputToolbar.inputToolbarDelegate = self;
|
||||||
self.inputToolbar.inputTextViewDelegate = self;
|
self.inputToolbar.inputTextViewDelegate = self;
|
||||||
[self.collectionView autoPinToBottomLayoutGuideOfViewController:self withInset:0];
|
|
||||||
|
|
||||||
self.loadMoreHeader = [UILabel new];
|
self.loadMoreHeader = [UILabel new];
|
||||||
self.loadMoreHeader.text = NSLocalizedString(@"CONVERSATION_VIEW_LOADING_MORE_MESSAGES",
|
self.loadMoreHeader.text = NSLocalizedString(@"CONVERSATION_VIEW_LOADING_MORE_MESSAGES",
|
||||||
|
|
Loading…
Reference in a new issue