PR cleanup #1164
1 changed files with 6 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue