We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 42a29b2 + b28501b commit 5f8e4dfCopy full SHA for 5f8e4df
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