diff --git a/app/src/main/java/org/mozilla/fenix/addons/AddonPermissionsDetailsView.kt b/app/src/main/java/org/mozilla/fenix/addons/AddonPermissionsDetailsView.kt index e3f936df618e..78f89a6ccfc7 100644 --- a/app/src/main/java/org/mozilla/fenix/addons/AddonPermissionsDetailsView.kt +++ b/app/src/main/java/org/mozilla/fenix/addons/AddonPermissionsDetailsView.kt @@ -6,7 +6,6 @@ package org.mozilla.fenix.addons import android.net.Uri import android.view.View -import androidx.annotation.StringRes import androidx.core.net.toUri import androidx.recyclerview.widget.LinearLayoutManager import kotlinx.android.extensions.LayoutContainer @@ -40,10 +39,7 @@ class AddonPermissionsDetailsView( private fun bindPermissions(addon: Addon) { add_ons_permissions.apply { layoutManager = LinearLayoutManager(context) - val sortedPermissions = addon.translatePermissions().map { - @StringRes val stringId = it - context.getString(stringId) - }.sorted() + val sortedPermissions = addon.translatePermissions(context).sorted() adapter = AddonPermissionsAdapter( sortedPermissions, style = AddonPermissionsAdapter.Style( diff --git a/buildSrc/src/main/java/AndroidComponents.kt b/buildSrc/src/main/java/AndroidComponents.kt index 2364f0929705..8e8ea9494c7b 100644 --- a/buildSrc/src/main/java/AndroidComponents.kt +++ b/buildSrc/src/main/java/AndroidComponents.kt @@ -3,5 +3,5 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { - const val VERSION = "59.0.20200916130055" + const val VERSION = "60.0.20200917130150" }