From c0ad8ed27a060c82f0e9832aea874ad28ec2469a Mon Sep 17 00:00:00 2001 From: Docile-Alligator Date: Thu, 17 Mar 2022 13:57:09 +0800 Subject: Fix unable to update anonymous multireddits. --- .../infinityforreddit/activities/EditMultiRedditActivity.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/src') 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 -- cgit v1.2.3