Skip to content

Commit b28501b

Browse files
committed
Fix iPad split mode scroll to appear bottom bar
1 parent 42a29b2 commit b28501b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Views/BuildingBlocks/WebView.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ extension WebViewController: UIScrollViewDelegate {
164164

165165
func showBars(on navigationController: UINavigationController) {
166166
navigationController.setNavigationBarHidden(false, animated: true)
167-
if Device.current == .iPhone {
167+
if traitCollection.horizontalSizeClass == .compact {
168168
navigationController.setToolbarHidden(false, animated: true)
169169
}
170170
}

0 commit comments

Comments
 (0)