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

pull/513/head^2
Vitor Pamplona 2023-07-20 19:34:33 -04:00
rodzic dea0adaea4
commit 8971b4e190
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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))
}