mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2024-12-16 15:48:13 +08:00
Merge branch 'release-2.1' into 43-file-browser
This commit is contained in:
commit
345d577fbf
@ -6,8 +6,8 @@ android {
|
|||||||
applicationId "org.mian.gitnex"
|
applicationId "org.mian.gitnex"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 28
|
targetSdkVersion 28
|
||||||
versionCode 61
|
versionCode 62
|
||||||
versionName "2.1.1"
|
versionName "2.1.2"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
@ -179,9 +179,14 @@ public class MyReposListAdapter extends RecyclerView.Adapter<MyReposListAdapter.
|
|||||||
.endConfig()
|
.endConfig()
|
||||||
.buildRoundRect(firstCharacter, color, 3);
|
.buildRoundRect(firstCharacter, color, 3);
|
||||||
|
|
||||||
if (!currentItem.getAvatar_url().equals("")) {
|
if (currentItem.getAvatar_url() != null) {
|
||||||
Picasso.get().load(currentItem.getAvatar_url()).transform(new RoundedTransformation(8, 0)).resize(120, 120).centerCrop().into(holder.imageMy);
|
if (!currentItem.getAvatar_url().equals("")) {
|
||||||
} else {
|
Picasso.get().load(currentItem.getAvatar_url()).transform(new RoundedTransformation(8, 0)).resize(120, 120).centerCrop().into(holder.imageMy);
|
||||||
|
} else {
|
||||||
|
holder.imageMy.setImageDrawable(drawable);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
holder.imageMy.setImageDrawable(drawable);
|
holder.imageMy.setImageDrawable(drawable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -180,9 +180,14 @@ public class RepositoriesByOrgAdapter extends RecyclerView.Adapter<RepositoriesB
|
|||||||
.endConfig()
|
.endConfig()
|
||||||
.buildRoundRect(firstCharacter, color, 3);
|
.buildRoundRect(firstCharacter, color, 3);
|
||||||
|
|
||||||
if (!currentItem.getAvatar_url().equals("")) {
|
if (currentItem.getAvatar_url() != null) {
|
||||||
Picasso.get().load(currentItem.getAvatar_url()).transform(new RoundedTransformation(8, 0)).resize(120, 120).centerCrop().into(holder.image);
|
if (!currentItem.getAvatar_url().equals("")) {
|
||||||
} else {
|
Picasso.get().load(currentItem.getAvatar_url()).transform(new RoundedTransformation(8, 0)).resize(120, 120).centerCrop().into(holder.image);
|
||||||
|
} else {
|
||||||
|
holder.image.setImageDrawable(drawable);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
holder.image.setImageDrawable(drawable);
|
holder.image.setImageDrawable(drawable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -180,9 +180,14 @@ public class StarredReposListAdapter extends RecyclerView.Adapter<StarredReposLi
|
|||||||
.endConfig()
|
.endConfig()
|
||||||
.buildRoundRect(firstCharacter, color, 3);
|
.buildRoundRect(firstCharacter, color, 3);
|
||||||
|
|
||||||
if (!currentItem.getAvatar_url().equals("")) {
|
if (currentItem.getAvatar_url() != null) {
|
||||||
Picasso.get().load(currentItem.getAvatar_url()).transform(new RoundedTransformation(8, 0)).resize(120, 120).centerCrop().into(holder.image);
|
if (!currentItem.getAvatar_url().equals("")) {
|
||||||
} else {
|
Picasso.get().load(currentItem.getAvatar_url()).transform(new RoundedTransformation(8, 0)).resize(120, 120).centerCrop().into(holder.image);
|
||||||
|
} else {
|
||||||
|
holder.image.setImageDrawable(drawable);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
holder.image.setImageDrawable(drawable);
|
holder.image.setImageDrawable(drawable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
4
fastlane/metadata/android/en-US/changelogs/62.txt
Normal file
4
fastlane/metadata/android/en-US/changelogs/62.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
Bugfix: crash when my repo, starred repos are accessed without repo avatar. old Gitea instances
|
||||||
|
|
||||||
|
For more, check the release notes.
|
||||||
|
https://gitea.com/mmarif/GitNex/releases
|
Loading…
Reference in New Issue
Block a user