From 783325cfe1b4c8a77f094e3950a58f6fcd5ddbf7 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sun, 19 Jul 2020 11:50:50 +0800 Subject: [PATCH] Fix opening FontPreviewFragment causes app crashing in minifiedRelease. --- app/proguard-rules.pro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 50b179d4..d942737c 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -9,6 +9,8 @@ ## Preferences reflection -keep class * extends androidx.preference.PreferenceFragmentCompat +-keep class ml.docilealligator.infinityforreddit.Settings.FontPreviewFragment { *; } + ## EventBus Rules -keepattributes *Annotation* -keepclassmembers class * {