From e09bd95cc6a74cbdb11f451b0df847e01d40226a Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 9 Aug 2019 18:42:36 +0200 Subject: [PATCH] Show relative snoozed time --- app/build.gradle | 4 ++-- app/src/main/java/eu/faircode/email/AdapterMessage.java | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 336560ddc3..9e21ac687e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -13,8 +13,8 @@ android { applicationId "eu.faircode.email" minSdkVersion 21 targetSdkVersion 29 - versionCode 639 - versionName "1.639" + versionCode 640 + versionName "1.640" archivesBaseName = "FairEmail-v$versionName" // https://en.wikipedia.org/wiki/List_of_dinosaur_genera diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index c226f0e1da..cd541a1d14 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -52,6 +52,7 @@ import android.text.SpannableStringBuilder; import android.text.Spanned; import android.text.TextUtils; import android.text.TextWatcher; +import android.text.format.DateUtils; import android.text.method.ArrowKeyMovementMethod; import android.text.method.LinkMovementMethod; import android.text.style.DynamicDrawableSpan; @@ -1545,7 +1546,12 @@ public class AdapterMessage extends RecyclerView.Adapter