mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Update Riot/Modules/SplitView/SplitViewCoordinator.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
This commit is contained in:
@@ -284,6 +284,7 @@ extension SplitViewCoordinator: UISplitViewControllerDelegate {
|
||||
func splitViewController(_ splitViewController: UISplitViewController, collapseSecondary secondaryViewController: UIViewController, onto primaryViewController: UIViewController) -> Bool {
|
||||
|
||||
// If the secondary view is the placeholder screen do not merge the secondary into the primary.
|
||||
// Note: In this case, the secondaryViewController will be automatically discarded.
|
||||
if self.isPlaceholderShown(from: secondaryViewController) {
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user