mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-28 11:58:23 +01:00
Fix anonymous multireddits not shown.
This commit is contained in:
parent
ad99238ed9
commit
9a0067d714
@ -168,7 +168,7 @@ public class CreateMultiRedditActivity extends BaseActivity {
|
||||
});
|
||||
} else {
|
||||
CreateMultiReddit.anonymousCreateMultiReddit(mExecutor, new Handler(), mRedditDataRoomDatabase,
|
||||
"/user/" + mAccountName + "/m/" + nameEditText.getText().toString(),
|
||||
"/user/-/m/" + nameEditText.getText().toString(),
|
||||
nameEditText.getText().toString(), descriptionEditText.getText().toString(),
|
||||
mSubreddits, new CreateMultiReddit.CreateMultiRedditListener() {
|
||||
@Override
|
||||
|
@ -403,8 +403,8 @@ public class SubscribedThingListingActivity extends BaseActivity implements Acti
|
||||
default: {
|
||||
MultiRedditListingFragment fragment = new MultiRedditListingFragment();
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putString(MultiRedditListingFragment.EXTRA_ACCESS_TOKEN, mAccessToken == null ? "-" : mAccountName);
|
||||
bundle.putString(MultiRedditListingFragment.EXTRA_ACCOUNT_NAME, mAccountName);
|
||||
bundle.putString(MultiRedditListingFragment.EXTRA_ACCESS_TOKEN, mAccessToken);
|
||||
bundle.putString(MultiRedditListingFragment.EXTRA_ACCOUNT_NAME, mAccountName == null ? "-" : mAccountName);
|
||||
fragment.setArguments(bundle);
|
||||
return fragment;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user