diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-04-23 08:05:34 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-04-23 08:05:34 +0000 |
commit | 3c4452261d1f65cf4ff9a76708202fe4637068d1 (patch) | |
tree | 76d5a701ff51d3a366024c004964b4f97432c640 /app | |
parent | cea8afb5ad2dd960ab1cdd55d5c0a5b02eb23a53 (diff) | |
download | infinity-for-reddit-3c4452261d1f65cf4ff9a76708202fe4637068d1.tar infinity-for-reddit-3c4452261d1f65cf4ff9a76708202fe4637068d1.tar.gz infinity-for-reddit-3c4452261d1f65cf4ff9a76708202fe4637068d1.tar.bz2 infinity-for-reddit-3c4452261d1f65cf4ff9a76708202fe4637068d1.tar.lz infinity-for-reddit-3c4452261d1f65cf4ff9a76708202fe4637068d1.tar.xz infinity-for-reddit-3c4452261d1f65cf4ff9a76708202fe4637068d1.tar.zst infinity-for-reddit-3c4452261d1f65cf4ff9a76708202fe4637068d1.zip |
Fix favorite things for logged-in account failed.
Diffstat (limited to 'app')
2 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SubredditSelectionActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SubredditSelectionActivity.java index 1029469d..e1458042 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SubredditSelectionActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SubredditSelectionActivity.java @@ -167,6 +167,7 @@ public class SubredditSelectionActivity extends BaseActivity implements Activity mFragment = new SubscribedSubredditsListingFragment(); Bundle bundle = new Bundle(); bundle.putString(SubscribedSubredditsListingFragment.EXTRA_ACCOUNT_NAME, mAccountName); + bundle.putString(SubscribedSubredditsListingFragment.EXTRA_ACCESS_TOKEN, mAccessToken); bundle.putString(SubscribedSubredditsListingFragment.EXTRA_ACCOUNT_PROFILE_IMAGE_URL, mAccountProfileImageUrl); bundle.putBoolean(SubscribedSubredditsListingFragment.EXTRA_IS_SUBREDDIT_SELECTION, true); if (getIntent().hasExtra(EXTRA_EXTRA_CLEAR_SELECTION)) { diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SubscribedThingListingActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SubscribedThingListingActivity.java index 2d457dc4..e5b2e225 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SubscribedThingListingActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SubscribedThingListingActivity.java @@ -387,6 +387,7 @@ public class SubscribedThingListingActivity extends BaseActivity implements Acti Bundle bundle = new Bundle(); bundle.putBoolean(SubscribedSubredditsListingFragment.EXTRA_IS_SUBREDDIT_SELECTION, false); bundle.putString(SubscribedSubredditsListingFragment.EXTRA_ACCOUNT_NAME, mAccountName); + bundle.putString(SubscribedSubredditsListingFragment.EXTRA_ACCESS_TOKEN, mAccessToken); fragment.setArguments(bundle); return fragment; } |