Skip to content

Commit 5a58eb6

Browse files
committed
Fix products onboarding eligibility check when store has locally stored products
1 parent b95f766 commit 5a58eb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Yosemite/Yosemite/Stores/ProductStore.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ private extension ProductStore {
397397
// Check for locally stored products first.
398398
let storage = storageManager.viewStorage
399399
if let products = storage.loadProducts(siteID: siteID), !products.isEmpty {
400-
return onCompletion(.success(true))
400+
return onCompletion(.success(false))
401401
}
402402

403403
// If there are no locally stored products, then check remote.

0 commit comments

Comments
 (0)