forked from shadowfacts/Tusker
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.getOwnInstance()
|
||||
|
||||
if #available(iOS 14.0, *),
|
||||
UIDevice.current.userInterfaceIdiom != .phone {
|
||||
if #available(iOS 14.0, *) {
|
||||
return MainSplitViewController(mastodonController: mastodonController)
|
||||
} else {
|
||||
return MainTabBarViewController(mastodonController: mastodonController)
|
||||
|
|
Loading…
Reference in New Issue