PR cleanup #1164

Merged
akinwale merged 32 commits from pr-1118 into master 2021-03-08 20:15:23 +01:00
Showing only changes of commit 722438ba41 - Show all commits

View file

@ -393,7 +393,12 @@ public class ChannelFragment extends BaseFragment implements FetchChannelsListen
} }
} }
if (params.containsKey("url")) { if (params.containsKey("url")) {
LbryUri newLbryUri = LbryUri.tryParse(params.get("url").toString()); Object o = params.get("url");
String urlString = "";
if (o != null) {
urlString = o.toString();
}
LbryUri newLbryUri = LbryUri.tryParse(urlString);
if (newLbryUri != null) { if (newLbryUri != null) {
newUrl = newLbryUri.toString(); newUrl = newLbryUri.toString();
String qs = newLbryUri.getQueryString(); String qs = newLbryUri.getQueryString();