From 7911f4f3813e789f6a7bf6ecc4b8739f1a86a0b6 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Tue, 1 Sep 2020 15:24:56 +0800 Subject: Fix proguard for gson. Fix multireddit's info cannot be updated in minifiedRelease. Version 4.0.7. --- .../infinityforreddit/MultiReddit/MultiRedditJSONModel.java | 10 ---------- .../infinityforreddit/MultiReddit/SubredditInMultiReddit.java | 11 +++++++++++ 2 files changed, 11 insertions(+), 10 deletions(-) create mode 100644 app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/SubredditInMultiReddit.java (limited to 'app/src/main/java') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/MultiRedditJSONModel.java b/app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/MultiRedditJSONModel.java index df921d35..665a9092 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/MultiRedditJSONModel.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/MultiRedditJSONModel.java @@ -35,14 +35,4 @@ public class MultiRedditJSONModel { Gson gson = new Gson(); return gson.toJson(this); } - - class SubredditInMultiReddit { - String name; - - SubredditInMultiReddit() {} - - SubredditInMultiReddit(String subredditName) { - name = subredditName; - } - } } diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/SubredditInMultiReddit.java b/app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/SubredditInMultiReddit.java new file mode 100644 index 00000000..34a1e638 --- /dev/null +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/SubredditInMultiReddit.java @@ -0,0 +1,11 @@ +package ml.docilealligator.infinityforreddit.MultiReddit; + +public class SubredditInMultiReddit { + String name; + + SubredditInMultiReddit() {} + + SubredditInMultiReddit(String subredditName) { + name = subredditName; + } +} \ No newline at end of file -- cgit v1.2.3