diff options
author | Docile-Alligator <chineseperson5@gmail.com> | 2022-03-17 05:57:09 +0000 |
---|---|---|
committer | Docile-Alligator <chineseperson5@gmail.com> | 2022-03-17 05:57:09 +0000 |
commit | c0ad8ed27a060c82f0e9832aea874ad28ec2469a (patch) | |
tree | bf4a7c5f255e5fc5854f6a9d1ce319125bc6abd6 /app/src/main | |
parent | cfd295aea8a5a1f6ba460fa25f972c1e4cc523e5 (diff) | |
download | infinity-for-reddit-c0ad8ed27a060c82f0e9832aea874ad28ec2469a.tar infinity-for-reddit-c0ad8ed27a060c82f0e9832aea874ad28ec2469a.tar.gz infinity-for-reddit-c0ad8ed27a060c82f0e9832aea874ad28ec2469a.tar.bz2 infinity-for-reddit-c0ad8ed27a060c82f0e9832aea874ad28ec2469a.tar.lz infinity-for-reddit-c0ad8ed27a060c82f0e9832aea874ad28ec2469a.tar.xz infinity-for-reddit-c0ad8ed27a060c82f0e9832aea874ad28ec2469a.tar.zst infinity-for-reddit-c0ad8ed27a060c82f0e9832aea874ad28ec2469a.zip |
Fix unable to update anonymous multireddits.
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/activities/EditMultiRedditActivity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/EditMultiRedditActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/EditMultiRedditActivity.java index 20dfe06f..7388c7c9 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/EditMultiRedditActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/EditMultiRedditActivity.java @@ -212,6 +212,10 @@ public class EditMultiRedditActivity extends BaseActivity { } if (mAccessToken == null) { + String name = nameEditText.getText().toString(); + multiReddit.setDisplayName(name); + multiReddit.setName(name); + multiReddit.setDescription(descriptionEditText.getText().toString()); EditMultiReddit.anonymousEditMultiReddit(mExecutor, new Handler(), mRedditDataRoomDatabase, multiReddit, new EditMultiReddit.EditMultiRedditListener() { @Override |