Skip to content

Commit 48f5ff3

Browse files
committed
Use local FF as temp condition for feature visibility
1 parent 84f6b7d commit 48f5ff3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

WooCommerce/Classes/ViewRelated/Dashboard/Settings/Beta features/ApplicationPasswordsExperimentState.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ final class ApplicationPasswordsExperimentAvailabilityChecker: ApplicationPasswo
5858
func fetchAvailability() async -> Bool {
5959
await withCheckedContinuation { continuation in
6060
//TODO: - put the remote FF checking here
61-
let mockResultValue = true
61+
//For now rely on local FF for mocked value to avoid unwanted exposure
62+
let mockResultValue = ServiceLocator.featureFlagService.isFeatureFlagEnabled(
63+
.applicationPasswordExperiment
64+
)
6265

6366
DispatchQueue.main.asyncAfter(deadline: .now() + 3) {
6467
continuation.resume(returning: mockResultValue)

0 commit comments

Comments
 (0)