feat(Timeline/TrendingLink): provide WebURL

Since the Web version now has a user-visible timeline, we can provide a
URL to that.
This commit is contained in:
FineFindus 2024-08-04 15:56:32 +02:00
parent 09185faf9a
commit 9918649d7c
No known key found for this signature in database
GPG Key ID: 64873EE210FF8E6B
1 changed files with 1 additions and 2 deletions

View File

@ -131,8 +131,7 @@ public class DiscoverTrendingLinkTimelineFragment extends StatusListFragment{
@Override
public Uri getWebUri(Uri.Builder base) {
//TODO: add URL link once web version implements a UI
return base.path("/explore/links").build();
return base.path("/links").appendPath(trendingLink.url).build();
}
@Override