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 b002621861 - Show all commits

View file

@ -207,7 +207,11 @@ public class AllContentFragment extends BaseFragment implements DownloadActionLi
private void checkParams(boolean reload) { private void checkParams(boolean reload) {
Map<String, Object> params = getParams(); Map<String, Object> params = getParams();
if (params != null && params.containsKey("singleTag")) { if (params != null && params.containsKey("singleTag")) {
String tagName = params.get("singleTag").toString(); String tagName = "";
Object o = params.get("singleTag");
if (o != null) {
tagName = o.toString();
}
singleTagView = true; singleTagView = true;
tags = Arrays.asList(tagName); tags = Arrays.asList(tagName);
titleView.setText(Helper.capitalize(tagName)); titleView.setText(Helper.capitalize(tagName));