From 380b50c4479c728c295841d6558db24e32382526 Mon Sep 17 00:00:00 2001 From: hasibprince Date: Fri, 16 Dec 2022 17:13:41 +0600 Subject: [PATCH] permissions are displayed from exodus api --- .../api/exodus/repositories/AppPrivacyInfoRepositoryImpl.kt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/main/java/foundation/e/apps/api/exodus/repositories/AppPrivacyInfoRepositoryImpl.kt b/app/src/main/java/foundation/e/apps/api/exodus/repositories/AppPrivacyInfoRepositoryImpl.kt index c53f6d252..192ea12e0 100644 --- a/app/src/main/java/foundation/e/apps/api/exodus/repositories/AppPrivacyInfoRepositoryImpl.kt +++ b/app/src/main/java/foundation/e/apps/api/exodus/repositories/AppPrivacyInfoRepositoryImpl.kt @@ -58,11 +58,7 @@ class AppPrivacyInfoRepositoryImpl @Inject constructor( ) { fusedApp.trackers = appPrivacyPrivacyInfoResult.data?.trackerList ?: LIST_OF_NULL fusedApp.permsFromExodus = appPrivacyPrivacyInfoResult.data?.permissionList ?: LIST_OF_NULL - if (fusedApp.perms.isEmpty() && fusedApp.permsFromExodus != LIST_OF_NULL) { - /* - * fusedApp.perms is generally populated from remote source like Play Store. - * If it is empty then set the value from permissions from exodus api. - */ + if (fusedApp.permsFromExodus != LIST_OF_NULL) { fusedApp.perms = fusedApp.permsFromExodus } } -- GitLab