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

Commit 3765ebb7 authored by Hasib Prince's avatar Hasib Prince
Browse files

fixed: tracker list api of exodus

parent 9718dbf5
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ plugins {

def versionMajor = 2
def versionMinor = 5
def versionPatch = 2
def versionPatch = 3

def getGitHash = { ->
    def stdOut = new ByteArrayOutputStream()
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ interface ExodusTrackerApi {
        const val BASE_URL = "https://exodus.ecloud.global/api/"
    }

    @GET("trackers?v={date}")
    @GET("trackers")
    suspend fun getTrackerList(@Query("date") date: String): Response<Trackers>

    @GET("search/{appHandle}/details")
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ class ApplicationFragment : TimeoutFragment(R.layout.fragment_application) {

    companion object {
        private const val PRIVACY_SCORE_SOURCE_CODE_URL =
            "https://gitlab.e.foundation/e/os/apps/-/blob/main/app/src/main/java/foundation/e/apps/api/exodus/repositories/AppPrivacyInfoRepositoryImpl.kt#L136"
            "https://gitlab.e.foundation/e/os/apps/-/blob/main/app/src/main/java/foundation/e/apps/data/exodus/repositories/AppPrivacyInfoRepositoryImpl.kt#L196"
        private const val EXODUS_URL = "https://exodus-privacy.eu.org"
        private const val EXODUS_REPORT_URL = "https://reports.exodus-privacy.eu.org/"
        private const val PRIVACY_GUIDELINE_URL = "https://doc.e.foundation/privacy_score"
+2 −0
Original line number Diff line number Diff line
@@ -187,6 +187,8 @@ class ApplicationListRVAdapter(
    private fun ApplicationListItemBinding.updateRating(searchApp: FusedApp) {
        if (searchApp.ratings.usageQualityScore != -1.0) {
            appRating.text = searchApp.ratings.usageQualityScore.toString()
        } else {
            appRating.text = root.context.getString(R.string.not_available)
        }
    }