mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Add missing source views for iPad.
This commit is contained in:
parent
60c8be0e8f
commit
1025e4dc5c
2 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
1
changelog.d/6654.bugfix
Normal file
1
changelog.d/6654.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Fix crash presenting Sign Out or Invite to Element menu items on iPad.
|
Loading…
Reference in a new issue