Skip to content

Commit e77db2b

Browse files
committed
Protect preference keys from obfuscation
1 parent f0d4dfd commit e77db2b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

app/proguard-rules.pro

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,9 @@
9696

9797
# Keep all drawable resources
9898
-keep class androidx.compose.ui.res.** { *; }
99-
-keepclassmembers class **.R$drawable { <fields>; }
99+
-keepclassmembers class **.R$drawable { <fields>; }
100+
101+
# Preference keys
102+
-keepclassmembers enum com.drdisagree.iconify.data.keys.** {
103+
<fields>;
104+
}

0 commit comments

Comments
 (0)