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

@ -6,8 +6,8 @@ android {
applicationId "org.mian.gitnex"
minSdkVersion 21
targetSdkVersion 28
versionCode 62
versionName "2.1.2"
versionCode 63
versionName "2.1.3"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {

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": {