Skip to content

Commit

Permalink
Merge release/1.115.0 into main
Browse files Browse the repository at this point in the history
  • Loading branch information
daxmobile authored Nov 21, 2024
2 parents ca70d42 + 1b6f8be commit 6b5af3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Configuration/BuildNumber.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CURRENT_PROJECT_VERSION = 311
CURRENT_PROJECT_VERSION = 312
8 changes: 5 additions & 3 deletions DuckDuckGo/HomePage/Model/HomePageAddressBarModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,11 @@ extension HomePage.Models {
isExperimentActive = privacyConfigurationManager.privacyConfig.isEnabled(featureKey: .newTabSearchField)
setUpExperimentIfNeeded()

privacyConfigCancellable = privacyConfigurationManager.updatesPublisher.sink { [weak self, weak privacyConfigurationManager] in
self?.isExperimentActive = privacyConfigurationManager?.privacyConfig.isEnabled(featureKey: .newTabSearchField) == true
}
privacyConfigCancellable = privacyConfigurationManager.updatesPublisher
.receive(on: DispatchQueue.main)
.sink { [weak self, weak privacyConfigurationManager] in
self?.isExperimentActive = privacyConfigurationManager?.privacyConfig.isEnabled(featureKey: .newTabSearchField) == true
}
}

private lazy var addressBarViewController: AddressBarViewController? = createAddressBarViewController()
Expand Down

0 comments on commit 6b5af3b

Please sign in to comment.