Author: Adam <git@apiote.xyz>
format last updated date in feed info
%!v(PANIC=String method: strings: negative Repeat count)
diff --git a/app/src/main/java/xyz/apiote/bimba/czwek/settings/feeds/FeedInfos.kt b/app/src/main/java/xyz/apiote/bimba/czwek/settings/feeds/FeedInfos.kt index ff9d63e7b907ebbdfca83abc145d1feb02bda4aa..1ee8463c75f00bda76be726c3e4ffeb7a62cb989 100644 --- a/app/src/main/java/xyz/apiote/bimba/czwek/settings/feeds/FeedInfos.kt +++ b/app/src/main/java/xyz/apiote/bimba/czwek/settings/feeds/FeedInfos.kt @@ -96,7 +96,7 @@ val content = inflater.inflate(R.layout.feed_bottom_sheet, container, false) content.findViewById<TextView>(R.id.title).text = feed.name content.findViewById<TextView>(R.id.description).text = feed.description content.findViewById<TextView>(R.id.attribution).text = feed.attribution - content.findViewById<TextView>(R.id.update_time).text = feed.formatDate() + content.findViewById<TextView>(R.id.update_time).text = getString(R.string.last_update, feed.formatDate()) return content } } \ No newline at end of file