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

Commit 237ec465 authored by Romain Hunault's avatar Romain Hunault 💻
Browse files

Merge branch '5130_crash_on_applaunch' into 'epic_176-all-refactorAndGplay'

App Lounge: fixed numberformatexception FusedApiImpl

See merge request ecorp/apps/apps!50
parents d2fba084 c9a40a91
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,