aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-09-01 07:24:56 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-09-01 07:24:56 +0000
commit7911f4f3813e789f6a7bf6ecc4b8739f1a86a0b6 (patch)
tree3bc62f41da0b469686c6235e8b2b7444ae12ec1d /app/src/main/java
parentff49660cf7b88fdf7116458ebf6eb8d3e09d64cc (diff)
downloadinfinity-for-reddit-7911f4f3813e789f6a7bf6ecc4b8739f1a86a0b6.tar
infinity-for-reddit-7911f4f3813e789f6a7bf6ecc4b8739f1a86a0b6.tar.gz
infinity-for-reddit-7911f4f3813e789f6a7bf6ecc4b8739f1a86a0b6.tar.bz2
infinity-for-reddit-7911f4f3813e789f6a7bf6ecc4b8739f1a86a0b6.tar.lz
infinity-for-reddit-7911f4f3813e789f6a7bf6ecc4b8739f1a86a0b6.tar.xz
infinity-for-reddit-7911f4f3813e789f6a7bf6ecc4b8739f1a86a0b6.tar.zst
infinity-for-reddit-7911f4f3813e789f6a7bf6ecc4b8739f1a86a0b6.zip
Fix proguard for gson. Fix multireddit's info cannot be updated in minifiedRelease. Version 4.0.7.
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/MultiRedditJSONModel.java10
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/SubredditInMultiReddit.java11
2 files changed, 11 insertions, 10 deletions
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