From b45dc198111ddbb7d9a77bded1f94e5b91a5ffc1 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sat, 14 Nov 2020 22:48:09 -0500 Subject: [PATCH] Re-enable split view controller on iPhone --- Tusker/SceneDelegate.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tusker/SceneDelegate.swift b/Tusker/SceneDelegate.swift index bb50fb30..036bc0fc 100644 --- a/Tusker/SceneDelegate.swift +++ b/Tusker/SceneDelegate.swift @@ -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)