We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42a29b2 commit b28501bCopy full SHA for b28501b
Views/BuildingBlocks/WebView.swift
@@ -164,7 +164,7 @@ extension WebViewController: UIScrollViewDelegate {
164
165
func showBars(on navigationController: UINavigationController) {
166
navigationController.setNavigationBarHidden(false, animated: true)
167
- if Device.current == .iPhone {
+ if traitCollection.horizontalSizeClass == .compact {
168
navigationController.setToolbarHidden(false, animated: true)
169
}
170
0 commit comments