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

Commit a76999e4 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Fix System app label

parent b43ad639
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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
            }
        }
+1 −1
Original line number Diff line number Diff line
@@ -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()
            }
+2 −2
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ package foundation.e.apps.data.enums

enum class Source {
    PLAY_STORE,
    GITLAB_RELEASES,
    SYSTEM_APP,
    OPEN_SOURCE,
    PWA;

@@ -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
            }
        }
+1 −1
Original line number Diff line number Diff line
@@ -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