fix(HashtagTimelineFragment): display correct URL in recents menu

Fixes an issue, where the hashtag, instead of the hashtagName was displayed in the recents menu, causing the toString() function of the hashtag to be called, which inlcuded all the hashtag data, producing a faulty URL.
This commit is contained in:
FineFindus
2024-06-13 09:34:56 +02:00
committed by GitHub
parent 4f11a79d2a
commit 4c9f7fc8be

View File

@@ -232,7 +232,7 @@ public class HashtagTimelineFragment extends PinnableStatusListFragment{
@Override
public Uri getWebUri(Uri.Builder base) {
return base.path((isInstanceAkkoma() ? "/tag/" : "/tags/") + hashtag).build();
return base.path((isInstanceAkkoma() ? "/tag/" : "/tags/") + hashtagName).build();
}
@Override