Skip to content

Commit

Permalink
Bugfix FXIOS-10308 Incorrect connection type is displayed in ETP panel (
Browse files Browse the repository at this point in the history
#23158)

Update BrowserCoordinator.swift

Bugfix FXIOS-10308 Incorrect connection type is displayed in ETP panel (#22581)
  • Loading branch information
petruSt24 authored Nov 19, 2024
1 parent 507358e commit 6efbb6f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@ class BrowserCoordinator: BaseCoordinator,
// MARK: - ETPCoordinatorSSLStatusDelegate

var showHasOnlySecureContentInTrackingPanel: Bool {
if browserViewController.isToolbarRefactorEnabled {
return browserViewController.tabManager.selectedTab?.currentWebView()?.hasOnlySecureContent ?? false
}

guard let bar = browserViewController.urlBar else { return false }
return bar.locationView.hasSecureContent
}
Expand Down

0 comments on commit 6efbb6f

Please sign in to comment.