Skip to content
This repository was archived by the owner on Oct 12, 2025. It is now read-only.

Commit a6b280a

Browse files
iPad crash temp fix
1 parent f1ecdc6 commit a6b280a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

HackIllinois/FlowControllers/HITabBarController.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ class HITabBarController: UITabBarController {
3030
override func viewDidLoad() {
3131
super.viewDidLoad()
3232
setupQRScanButton()
33-
setupTabBar()
33+
if !(UIDevice.current.userInterfaceIdiom == .pad) {
34+
setupTabBar()
35+
}
3436
}
3537

3638
override func viewDidLayoutSubviews() {

0 commit comments

Comments
 (0)