Skip to content

Commit cdfaafc

Browse files
committed
minor bug fixed with invalid product ids loading
1 parent 75c1a52 commit cdfaafc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ android.useAndroidX=true
1919
android.enableJetifier=true
2020
# Kotlin code style for this project: "official" or "obsolete":
2121
kotlin.code.style=official
22-
sdkVersion=2.9.0
22+
sdkVersion=2.9.1

sdk/src/main/java/com/apphud/sdk/ApphudInternal+Products.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ internal suspend fun ApphudInternal.fetchDetails(ids: List<String>, loadingAll:
175175

176176
ApphudLog.log("Fetching Product Details: ${idsToFetch.toString()}")
177177
loadingStoreProducts = true
178-
if (productsStatus != ApphudProductsStatus.loading) {
178+
if (productsStatus != ApphudProductsStatus.loading && loadingAll) {
179179
productsStatus = ApphudProductsStatus.loading
180180
}
181181

0 commit comments

Comments
 (0)