mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 11:30:50 +02:00
fixed the positioning
This commit is contained in:
@@ -72,6 +72,7 @@ extern NSTimeInterval const kResizeComposerAnimationDuration;
|
||||
@property (weak, nonatomic, nullable) IBOutlet UIView *inputBackgroundView;
|
||||
@property (weak, nonatomic, nullable) IBOutlet UIButton *scrollToBottomButton;
|
||||
@property (weak, nonatomic, nullable) IBOutlet BadgeLabel *scrollToBottomBadgeLabel;
|
||||
@property (nonatomic, strong) IBOutlet UIView *overlayContainerView;
|
||||
|
||||
// Remove Jitsi widget container
|
||||
@property (weak, nonatomic, nullable) IBOutlet UIView *removeJitsiWidgetContainer;
|
||||
|
||||
@@ -187,7 +187,6 @@ static CGSize kThreadListBarButtonItemImageSize;
|
||||
MXTaskProfile *notificationTaskProfile;
|
||||
}
|
||||
|
||||
@property (nonatomic, weak) IBOutlet UIView *overlayContainerView;
|
||||
@property (nonatomic, strong) RemoveJitsiWidgetView *removeJitsiWidgetView;
|
||||
|
||||
|
||||
|
||||
@@ -161,7 +161,7 @@ extension RoomViewController {
|
||||
roomInputToolbarContainer.bottomAnchor.constraint(equalTo: view.bottomAnchor).isActive = true
|
||||
} else if roomInputToolbarContainer.superview != self.view {
|
||||
roomInputToolbarContainer.removeFromSuperview()
|
||||
self.view.addSubview(roomInputToolbarContainer)
|
||||
self.view.insertSubview(roomInputToolbarContainer, belowSubview: overlayContainerView)
|
||||
NSLayoutConstraint.activate(toolbarContainerConstraints)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -229,10 +229,10 @@ class WysiwygInputToolbarView: MXKRoomInputToolbarView, NibLoadable, HtmlRoomInp
|
||||
addSubview(voiceMessageToolbarView)
|
||||
NSLayoutConstraint.activate(
|
||||
[
|
||||
hostingViewController.view.topAnchor.constraint(equalTo: voiceMessageToolbarView.topAnchor),
|
||||
hostingViewController.view.leftAnchor.constraint(equalTo: voiceMessageToolbarView.leftAnchor),
|
||||
hostingViewController.view.bottomAnchor.constraint(equalTo: voiceMessageToolbarView.bottomAnchor, constant: 4),
|
||||
hostingViewController.view.rightAnchor.constraint(equalTo: voiceMessageToolbarView.rightAnchor)
|
||||
self.topAnchor.constraint(equalTo: voiceMessageToolbarView.topAnchor),
|
||||
self.safeAreaLayoutGuide.leftAnchor.constraint(equalTo: voiceMessageToolbarView.leftAnchor),
|
||||
self.safeAreaLayoutGuide.bottomAnchor.constraint(equalTo: voiceMessageToolbarView.bottomAnchor, constant: 4),
|
||||
self.safeAreaLayoutGuide.rightAnchor.constraint(equalTo: voiceMessageToolbarView.rightAnchor)
|
||||
]
|
||||
)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user