Loading app/src/main/java/foundation/e/apps/data/application/ApplicationDataManager.kt +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ class ApplicationDataManager @Inject constructor( application.package_name.isBlank() -> FilterLevel.UNKNOWN !application.isFree && application.price.isBlank() -> FilterLevel.UI application.source == Source.PWA || application.source == Source.OPEN_SOURCE -> FilterLevel.NONE application.source == Source.GITLAB_RELEASES -> FilterLevel.NONE application.source == Source.SYSTEM_APP -> FilterLevel.NONE !isRestricted(application) -> FilterLevel.NONE application.originalSize == 0L -> FilterLevel.UI else -> FilterLevel.NONE Loading app/src/main/java/foundation/e/apps/data/application/downloadInfo/DownloadInfoApiImpl.kt +1 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ class DownloadInfoApiImpl @Inject constructor( updateDownloadInfoFromGplay(appInstall, list) } Source.GITLAB_RELEASES -> { Source.SYSTEM_APP -> { return // nothing to do as downloadURLList is already set } } Loading app/src/main/java/foundation/e/apps/data/application/home/HomeApiImpl.kt +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ class HomeApiImpl @Inject constructor( if (apiStatus != ResultStatus.OK) { apiStatus.message = when (source) { Source.PLAY_STORE -> ("GPlay home loading error\n" + apiStatus.message).trim() Source.GITLAB_RELEASES -> ("Gitlab home not allowed\n" + apiStatus.message).trim() Source.SYSTEM_APP -> ("Gitlab home not allowed\n" + apiStatus.message).trim() Source.OPEN_SOURCE -> ("Open Source home loading error\n" + apiStatus.message).trim() Source.PWA -> ("PWA home loading error\n" + apiStatus.message).trim() } Loading app/src/main/java/foundation/e/apps/data/enums/Source.kt +2 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ package foundation.e.apps.data.enums enum class Source { PLAY_STORE, GITLAB_RELEASES, SYSTEM_APP, OPEN_SOURCE, PWA; Loading @@ -34,7 +34,7 @@ enum class Source { return when (source) { "Open Source" -> OPEN_SOURCE "PWA" -> PWA "GITLAB_RELEASES" -> GITLAB_RELEASES "SYSTEM_APP" -> SYSTEM_APP else -> PLAY_STORE } } Loading app/src/main/java/foundation/e/apps/data/gitlab/SystemAppsUpdatesRepository.kt +1 −1 Original line number Diff line number Diff line Loading @@ -255,7 +255,7 @@ class SystemAppsUpdatesRepository @Inject constructor( app.run { applicationDataManager.updateStatus(this) source = Source.GITLAB_RELEASES source = Source.SYSTEM_APP updateList.add(this) } } Loading Loading
app/src/main/java/foundation/e/apps/data/application/ApplicationDataManager.kt +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ class ApplicationDataManager @Inject constructor( application.package_name.isBlank() -> FilterLevel.UNKNOWN !application.isFree && application.price.isBlank() -> FilterLevel.UI application.source == Source.PWA || application.source == Source.OPEN_SOURCE -> FilterLevel.NONE application.source == Source.GITLAB_RELEASES -> FilterLevel.NONE application.source == Source.SYSTEM_APP -> FilterLevel.NONE !isRestricted(application) -> FilterLevel.NONE application.originalSize == 0L -> FilterLevel.UI else -> FilterLevel.NONE Loading
app/src/main/java/foundation/e/apps/data/application/downloadInfo/DownloadInfoApiImpl.kt +1 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ class DownloadInfoApiImpl @Inject constructor( updateDownloadInfoFromGplay(appInstall, list) } Source.GITLAB_RELEASES -> { Source.SYSTEM_APP -> { return // nothing to do as downloadURLList is already set } } Loading
app/src/main/java/foundation/e/apps/data/application/home/HomeApiImpl.kt +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ class HomeApiImpl @Inject constructor( if (apiStatus != ResultStatus.OK) { apiStatus.message = when (source) { Source.PLAY_STORE -> ("GPlay home loading error\n" + apiStatus.message).trim() Source.GITLAB_RELEASES -> ("Gitlab home not allowed\n" + apiStatus.message).trim() Source.SYSTEM_APP -> ("Gitlab home not allowed\n" + apiStatus.message).trim() Source.OPEN_SOURCE -> ("Open Source home loading error\n" + apiStatus.message).trim() Source.PWA -> ("PWA home loading error\n" + apiStatus.message).trim() } Loading
app/src/main/java/foundation/e/apps/data/enums/Source.kt +2 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ package foundation.e.apps.data.enums enum class Source { PLAY_STORE, GITLAB_RELEASES, SYSTEM_APP, OPEN_SOURCE, PWA; Loading @@ -34,7 +34,7 @@ enum class Source { return when (source) { "Open Source" -> OPEN_SOURCE "PWA" -> PWA "GITLAB_RELEASES" -> GITLAB_RELEASES "SYSTEM_APP" -> SYSTEM_APP else -> PLAY_STORE } } Loading
app/src/main/java/foundation/e/apps/data/gitlab/SystemAppsUpdatesRepository.kt +1 −1 Original line number Diff line number Diff line Loading @@ -255,7 +255,7 @@ class SystemAppsUpdatesRepository @Inject constructor( app.run { applicationDataManager.updateStatus(this) source = Source.GITLAB_RELEASES source = Source.SYSTEM_APP updateList.add(this) } } Loading