Re-enable split view controller on iPhone

This commit is contained in:
Shadowfacts 2020-11-14 22:48:09 -05:00
parent 80c0d08ec6
commit b45dc19811
Signed by untrusted user: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 1 additions and 2 deletions

View File

@ -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)