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

Commit f6447e2f authored by Sayantan Roychowdhury's avatar Sayantan Roychowdhury
Browse files

return null if authData is null

parent f0baa2b0
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ class ContentRatingsRepository @Inject constructor(
    }

    suspend fun getEnglishContentRating(packageName: String): ContentRating? {
        val authData = authenticatorRepository.gplayAuth!!
        val authData = authenticatorRepository.gplayAuth ?: return null
        val contentRatingHelper = ContentRatingHelper(authData)

        return handleNetworkResult {