From 3f6f513d96a805f0f72c22c55b9074a64ad74cb4 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 18 Oct 2022 17:39:03 -0400 Subject: [PATCH] Fix prettytime crash. Fixes #238 (#239) --- app/proguard-rules.pro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 190569aa8..133647df8 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -34,3 +34,7 @@ -keep,allowobfuscation,allowshrinking class com.google.gson.reflect.TypeToken -keep,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken +# Some prettytime stuff +-keep class com.ocpsoft.pretty.time.i18n.** +-keep class org.ocpsoft.prettytime.i18n.** +-keepnames class ** implements org.ocpsoft.prettytime.TimeUnit