Fix unable to update anonymous multireddits.

This commit is contained in:
Docile-Alligator 2022-03-17 13:57:09 +08:00
parent cfd295aea8
commit c0ad8ed27a

View File

@ -212,6 +212,10 @@ public class EditMultiRedditActivity extends BaseActivity {
} }
if (mAccessToken == null) { 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, EditMultiReddit.anonymousEditMultiReddit(mExecutor, new Handler(), mRedditDataRoomDatabase,
multiReddit, new EditMultiReddit.EditMultiRedditListener() { multiReddit, new EditMultiReddit.EditMultiRedditListener() {
@Override @Override