another quick release and another old Gitea instances issue

This commit is contained in:
M M Arif
2019-10-04 00:00:05 +05:00
parent 22b3802e73
commit 0ab8784a7a
3 changed files with 21 additions and 3 deletions

View File

@ -247,7 +247,12 @@ public class RepoInfoFragment extends Fragment {
repoRepoUrlInfo.setText(repoInfo.getHtml_url());
repoForksCountInfo.setText(repoInfo.getForks_count());
tinyDb.putBoolean("hasIssues", repoInfo.getHas_issues());
if(repoInfo.getHas_issues() != null) {
tinyDb.putBoolean("hasIssues", repoInfo.getHas_issues());
}
else {
tinyDb.putBoolean("hasIssues", true);
}
switch (timeFormat) {
case "pretty": {