From 219bb5437b4c6fb0ff59494e5347cfd36287d0d6 Mon Sep 17 00:00:00 2001 From: machiav3lli Date: Mon, 26 Sep 2022 02:27:10 +0200 Subject: [PATCH] Update: DateAdded/Updated sort orders' title --- src/main/kotlin/com/machiav3lli/fdroid/entity/Enums.kt | 4 ++-- src/main/res/values/strings.xml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/machiav3lli/fdroid/entity/Enums.kt b/src/main/kotlin/com/machiav3lli/fdroid/entity/Enums.kt index e025515a..abe577dd 100644 --- a/src/main/kotlin/com/machiav3lli/fdroid/entity/Enums.kt +++ b/src/main/kotlin/com/machiav3lli/fdroid/entity/Enums.kt @@ -11,8 +11,8 @@ import com.machiav3lli.fdroid.R enum class Order(@StringRes val titleResId: Int, @DrawableRes val iconResId: Int) { NAME(R.string.name, R.drawable.ic_placeholder), - DATE_ADDED(R.string.whats_new, R.drawable.ic_placeholder), - LAST_UPDATE(R.string.recently_updated, R.drawable.ic_placeholder) + DATE_ADDED(R.string.date_added, R.drawable.ic_placeholder), + LAST_UPDATE(R.string.date_updated, R.drawable.ic_placeholder) } enum class UpdateCategory(val id: Int) { diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index e5d0bc88..ed2fa9d4 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -224,4 +224,6 @@ Descending Apply Reset + Date added + Date updated