Merge branch 'release-2.1' into 43-file-browser

This commit is contained in:
M M Arif
2019-10-04 00:06:03 +05:00
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": {