Browse Source

Merge branch 'fix-old-gitea-api' of mmarif/GitNex into release-2.1

tags/2.1.3
M M Arif Gitea 5 months ago
parent
commit
7abfdc9567
3 changed files with 21 additions and 3 deletions
  1. +2
    -2
      app/build.gradle
  2. +6
    -1
      app/src/main/java/org/mian/gitnex/fragments/RepoInfoFragment.java
  3. +13
    -0
      fastlane/metadata/android/en-US/changelogs/63.txt

+ 2
- 2
app/build.gradle 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 {


+ 6
- 1
app/src/main/java/org/mian/gitnex/fragments/RepoInfoFragment.java 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": {


+ 13
- 0
fastlane/metadata/android/en-US/changelogs/63.txt View File

@@ -0,0 +1,13 @@
2.1.3
Bugfix: another old Gitea instances API issue

2.1.0
- New: Font - Roboto
- New: Milestone progress bar @6543
- New: Redesign issues list
- New: Copy issue URL to clipboard @6543
- New: Redesign milestones list
- New: Added repository avatars

For more, check the release notes.
https://gitea.com/mmarif/GitNex/releases

Loading…
Cancel
Save