Skip to content

Commit 9673faa

Browse files
committed
(fixes commons-app#5803) Modify image author name to licensing name. (commons-app#5803)
1 parent 3ac608c commit 9673faa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/main/java/fr/free/nrw/commons/explore/media/MediaConverter.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class MediaConverter
4040
metadata.licenseShortName(),
4141
metadata.prefixedLicenseUrl,
4242
getAuthor(metadata),
43-
imageInfo.user,
43+
getAuthor(metadata),
4444
MediaDataExtractorUtil.extractCategoriesFromList(metadata.categories),
4545
metadata.latLng,
4646
entity.labels().mapValues { it.value.value() },

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
maven { url "https://plugins.gradle.org/m2/" }
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:8.5.0'
9+
classpath 'com.android.tools.build:gradle:8.2.2'
1010
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.2'
1111
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
1212
classpath 'org.codehaus.groovy:groovy-all:2.4.15'

0 commit comments

Comments
 (0)