Skip to content

Commit

Permalink
Do not display if the icon is visible
Browse files Browse the repository at this point in the history
  • Loading branch information
Bunn committed Oct 29, 2024
1 parent 4bd9c0d commit da330e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DuckDuckGo/AIChat/AIChatMenuVisibilityConfigurable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ final class AIChatMenuConfiguration: AIChatMenuVisibilityConfigurable {
notificationCenter.publisher(for: .AIChatOpenedForReturningUser)
.sink { [weak self] _ in
guard let self = self else { return }
if !self.storage.didDisplayAIChatToolbarOnboarding {
if !self.storage.didDisplayAIChatToolbarOnboarding && !storage.shouldDisplayToolbarShortcut {
self.shouldDisplayToolbarOnboardingPopover.send()
}
}.store(in: &cancellables)
Expand Down

0 comments on commit da330e4

Please sign in to comment.