fix: include account when opening FeaturedHashtags
Closes https://github.com/mastodon/mastodon-android/issues/803.
This commit is contained in:
parent
36f4770cae
commit
ca67c1eaca
|
@ -198,6 +198,7 @@ public class ProfileFeaturedFragment extends BaseStatusListFragment<SearchResult
|
||||||
private void showAllFeaturedHashtags(){
|
private void showAllFeaturedHashtags(){
|
||||||
Bundle args=new Bundle();
|
Bundle args=new Bundle();
|
||||||
args.putString("account", accountID);
|
args.putString("account", accountID);
|
||||||
|
args.putParcelable("profileAccount", Parcels.wrap(profileAccount));
|
||||||
ArrayList<Parcelable> tags=featuredTags.stream().map(Parcels::wrap).collect(Collectors.toCollection(ArrayList::new));
|
ArrayList<Parcelable> tags=featuredTags.stream().map(Parcels::wrap).collect(Collectors.toCollection(ArrayList::new));
|
||||||
args.putParcelableArrayList("hashtags", tags);
|
args.putParcelableArrayList("hashtags", tags);
|
||||||
Nav.go(getActivity(), FeaturedHashtagsListFragment.class, args);
|
Nav.go(getActivity(), FeaturedHashtagsListFragment.class, args);
|
||||||
|
|
Loading…
Reference in New Issue