Re-enable split view controller on iPhone
This commit is contained in:
parent
80c0d08ec6
commit
b45dc19811
|
@ -176,8 +176,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
|
||||||
mastodonController.getOwnAccount()
|
mastodonController.getOwnAccount()
|
||||||
mastodonController.getOwnInstance()
|
mastodonController.getOwnInstance()
|
||||||
|
|
||||||
if #available(iOS 14.0, *),
|
if #available(iOS 14.0, *) {
|
||||||
UIDevice.current.userInterfaceIdiom != .phone {
|
|
||||||
return MainSplitViewController(mastodonController: mastodonController)
|
return MainSplitViewController(mastodonController: mastodonController)
|
||||||
} else {
|
} else {
|
||||||
return MainTabBarViewController(mastodonController: mastodonController)
|
return MainTabBarViewController(mastodonController: mastodonController)
|
||||||
|
|
Loading…
Reference in New Issue