diff --git a/app/src/main/java/foundation/e/apps/domain/ValidateAppAgeLimitUseCase.kt b/app/src/main/java/foundation/e/apps/domain/ValidateAppAgeLimitUseCase.kt index 89c0c51e91b80d9e6c40290c424c74baadadb00f..8b0b2858885bda6e3d1c19e308b41e194a1ce139 100644 --- a/app/src/main/java/foundation/e/apps/domain/ValidateAppAgeLimitUseCase.kt +++ b/app/src/main/java/foundation/e/apps/domain/ValidateAppAgeLimitUseCase.kt @@ -51,12 +51,12 @@ class ValidateAppAgeLimitUseCase @Inject constructor( return when { isParentalControlDisabled(ageGroup) -> ResultSupreme.Success( - data = ContentRatingValidity(true,) + data = ContentRatingValidity(true) ) isKnownNsfwApp(app) -> ResultSupreme.Success(data = ContentRatingValidity(false)) isCleanApkApp(app) -> ResultSupreme.Success( - ContentRatingValidity(!isNsfwAppByCleanApkApi(app)) + data = ContentRatingValidity(isValid = !isNsfwAppByCleanApkApi(app)) ) isWhiteListedCleanApkApp(app) -> ResultSupreme.Success(