mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-29 04:17:12 +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 {
|
} else {
|
||||||
CreateMultiReddit.anonymousCreateMultiReddit(mExecutor, new Handler(), mRedditDataRoomDatabase,
|
CreateMultiReddit.anonymousCreateMultiReddit(mExecutor, new Handler(), mRedditDataRoomDatabase,
|
||||||
"/user/" + mAccountName + "/m/" + nameEditText.getText().toString(),
|
"/user/-/m/" + nameEditText.getText().toString(),
|
||||||
nameEditText.getText().toString(), descriptionEditText.getText().toString(),
|
nameEditText.getText().toString(), descriptionEditText.getText().toString(),
|
||||||
mSubreddits, new CreateMultiReddit.CreateMultiRedditListener() {
|
mSubreddits, new CreateMultiReddit.CreateMultiRedditListener() {
|
||||||
@Override
|
@Override
|
||||||
|
@ -403,8 +403,8 @@ public class SubscribedThingListingActivity extends BaseActivity implements Acti
|
|||||||
default: {
|
default: {
|
||||||
MultiRedditListingFragment fragment = new MultiRedditListingFragment();
|
MultiRedditListingFragment fragment = new MultiRedditListingFragment();
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
bundle.putString(MultiRedditListingFragment.EXTRA_ACCESS_TOKEN, mAccessToken == null ? "-" : mAccountName);
|
bundle.putString(MultiRedditListingFragment.EXTRA_ACCESS_TOKEN, mAccessToken);
|
||||||
bundle.putString(MultiRedditListingFragment.EXTRA_ACCOUNT_NAME, mAccountName);
|
bundle.putString(MultiRedditListingFragment.EXTRA_ACCOUNT_NAME, mAccountName == null ? "-" : mAccountName);
|
||||||
fragment.setArguments(bundle);
|
fragment.setArguments(bundle);
|
||||||
return fragment;
|
return fragment;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user