From d4b8c350dc7dc10306f09d4700e0b00c22f185f6 Mon Sep 17 00:00:00 2001 From: FineFindus Date: Sun, 12 May 2024 13:59:47 +0200 Subject: [PATCH] fix(CustomLocalTimeline): set WebUri with scheme --- .../android/fragments/CustomLocalTimelineFragment.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/CustomLocalTimelineFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/CustomLocalTimelineFragment.java index d742a1451..a2510a337 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/CustomLocalTimelineFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/CustomLocalTimelineFragment.java @@ -85,7 +85,10 @@ public class CustomLocalTimelineFragment extends PinnableStatusListFragment impl @Override public Uri getWebUri(Uri.Builder base) { - return Uri.parse(domain); + return new Uri.Builder() + .scheme("https") + .authority(domain) + .build(); } @Override