mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-16 12:49:59 +02:00
Merge pull request #6736 from vector-im/doug/6654-fix-ipad-popovers
Add missing source views for iPad.
This commit is contained in:
@@ -344,7 +344,8 @@ class AllChatsCoordinator: NSObject, SplitViewMasterCoordinatorProtocol {
|
||||
var subMenuActions: [UIAction] = []
|
||||
if BuildSettings.sideMenuShowInviteFriends {
|
||||
subMenuActions.append(UIAction(title: VectorL10n.sideMenuActionInviteFriends, image: UIImage(systemName: "square.and.arrow.up.fill")) { [weak self] action in
|
||||
self?.showInviteFriends(from: nil)
|
||||
guard let self = self else { return }
|
||||
self.showInviteFriends(from: self.avatarMenuButton)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -585,7 +586,7 @@ class AllChatsCoordinator: NSObject, SplitViewMasterCoordinatorProtocol {
|
||||
signOutAlertPresenter.present(for: keyBackup.state,
|
||||
areThereKeysToBackup: keyBackup.hasKeysToBackup,
|
||||
from: self.allChatsViewController,
|
||||
sourceView: nil,
|
||||
sourceView: avatarMenuButton,
|
||||
animated: true)
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Fix crash presenting Sign Out or Invite to Element menu items on iPad.
|
||||
Reference in New Issue
Block a user