From becb533624dafc54b1b441cfc1f083f3c7a826bb Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Thu, 20 Aug 2020 20:32:22 +0100 Subject: [PATCH] fix notification relative time display --- .../adapter/NotificationListAdapter.java | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/io/lbry/browser/adapter/NotificationListAdapter.java b/app/src/main/java/io/lbry/browser/adapter/NotificationListAdapter.java index cb425d53..a948a7ee 100644 --- a/app/src/main/java/io/lbry/browser/adapter/NotificationListAdapter.java +++ b/app/src/main/java/io/lbry/browser/adapter/NotificationListAdapter.java @@ -18,6 +18,8 @@ import com.bumptech.glide.request.RequestOptions; import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; +import java.util.Date; +import java.util.GregorianCalendar; import java.util.List; import java.util.TimeZone; @@ -162,11 +164,8 @@ public class NotificationListAdapter extends RecyclerView.Adapter