Skip to content

Commit

Permalink
Fix popover not displayed reliably
Browse files Browse the repository at this point in the history
  • Loading branch information
quanganhdo committed Apr 11, 2024
1 parent 33331a1 commit a7fb940
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,7 @@ extension NavigationBarViewController: NSMenuDelegate {
.store(in: &cancellables)

networkProtectionButtonModel.$showButton
.removeDuplicates()
.receive(on: RunLoop.main)
.sink { [weak self] show in
let isPopUpWindow = self?.view.window?.isPopUpWindow ?? false
Expand Down

0 comments on commit a7fb940

Please sign in to comment.