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:
@@ -131,8 +131,7 @@ public class DiscoverTrendingLinkTimelineFragment extends StatusListFragment{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Uri getWebUri(Uri.Builder base) {
|
public Uri getWebUri(Uri.Builder base) {
|
||||||
//TODO: add URL link once web version implements a UI
|
return base.path("/links").appendPath(trendingLink.url).build();
|
||||||
return base.path("/explore/links").build();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user