Skip to content

Commit 9ca2d14

Browse files
authored
iPad: Fix split view not working after the initial launch (#15985)
2 parents 24ed98a + 82f9cd1 commit 9ca2d14

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

WooCommerce/Classes/ViewRelated/MainTabBarController.swift

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

191191
delegate = self
192192

193-
fixTabBarTraitCollectionOnIpadForiOS18()
194-
195193
// POS tab is hidden by default.
196194
updateTabViewControllers(isPOSTabVisible: false)
197195
observeSiteIDForViewControllers()
@@ -215,6 +213,7 @@ final class MainTabBarController: UITabBarController {
215213
super.viewDidAppear(animated)
216214

217215
viewModel.onViewDidAppear()
216+
fixTabBarTraitCollectionOnIpadForiOS18()
218217
}
219218

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

0 commit comments

Comments
 (0)