From 7f818e0735aad0f6261728ceb88e0ec14878da1b Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Wed, 21 Apr 2021 01:17:40 -0400 Subject: [PATCH] Changed Updates headers to "Fetched _x_" instead of "Added _x_" --- .../main/java/eu/kanade/tachiyomi/ui/recents/DateItem.kt | 6 +++--- app/src/main/res/values/strings.xml | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/recents/DateItem.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/recents/DateItem.kt index 82c974bf3c..b942a57186 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/recents/DateItem.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/recents/DateItem.kt @@ -45,12 +45,12 @@ class DateItem(val date: Date, val addedString: Boolean = false) : AbstractHeade private val now = Date().time - val section_text: TextView = view.findViewById(R.id.section_text) + private val sectionText: TextView = view.findViewById(R.id.section_text) fun bind(item: DateItem) { val dateString = DateUtils.getRelativeTimeSpanString(item.date.time, now, DateUtils.DAY_IN_MILLIS) - section_text.text = - if (item.addedString) itemView.context.getString(R.string.added_, dateString) else dateString + sectionText.text = + if (item.addedString) itemView.context.getString(R.string.fetched_, dateString) else dateString } } } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 248eacbc14..142cf5cae5 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -224,6 +224,7 @@ Read %1$s Updated %1$s Added %1$s + Fetched %1$s View history View all updates Search recents…