Skip to content

Commit 24efd31

Browse files
authored
Revert "iPad: Fix split view not working after the initial launch"
1 parent 38cc12e commit 24efd31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

WooCommerce/Classes/ViewRelated/MainTabBarController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ final class MainTabBarController: UITabBarController {
190190

191191
delegate = self
192192

193+
fixTabBarTraitCollectionOnIpadForiOS18()
194+
193195
// POS tab is hidden by default.
194196
updateTabViewControllers(isPOSTabVisible: false)
195197
observeSiteIDForViewControllers()
@@ -213,7 +215,6 @@ final class MainTabBarController: UITabBarController {
213215
super.viewDidAppear(animated)
214216

215217
viewModel.onViewDidAppear()
216-
fixTabBarTraitCollectionOnIpadForiOS18()
217218
}
218219

219220
override func tabBar(_ tabBar: UITabBar, didSelect item: UITabBarItem) {

0 commit comments

Comments
 (0)