Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9a40a91 authored by Hasib Prince's avatar Hasib Prince
Browse files

App Lounge: fixed numberformatexception FusedApiImpl

parent 21a23ca0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -631,7 +631,8 @@ class FusedAPIImpl @Inject constructor(
            other_images_path = this.screenshots.transformToList(),
            package_name = this.packageName,
            ratings = Ratings(
                usageQualityScore = if (this.labeledRating.isNotEmpty()) this.labeledRating.toDouble() else -1.0
                usageQualityScore = if (this.labeledRating.isNotEmpty()) this.labeledRating.toDoubleOrNull()
                    ?: -1.0 else -1.0
            ),
            offer_type = this.offerType,
            origin = Origin.GPLAY,