Samsung phones don't seem to have a . after hr and min

This commit is contained in:
Vitor Pamplona
2023-07-20 19:34:33 -04:00
parent dea0adaea4
commit 8971b4e190

View File

@@ -22,6 +22,8 @@ fun timeAgo(mills: Long?, context: Context): String {
.replace(" hr. ago", context.getString(R.string.h))
.replace(" min. ago", context.getString(R.string.m))
.replace(" days ago", context.getString(R.string.d))
.replace(" hr ago", context.getString(R.string.h))
.replace(" min ago", context.getString(R.string.m))
.replace("Yesterday", "1" + context.getString(R.string.d))
}