Merge pull request #824 from FineFindus/fix/featured-hastag-crash
fix: include account when opening FeaturedHashtags
This commit is contained in:
commit
0b48414715
|
@ -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