mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Fixes invalid authorname in explore (#4054)
* Fixes #3341, #4018 * Defined two feild author and user in Media and used them at the corresponding places Minor bug fixes -displaying userName in uploadedBy. -modified HTML parsing in getArtist. -Replaced creator with author. * Fixes #3341, #4018 * Defined two feild author and user in Media and used them at the corresponding places Minor bug fixes -displaying userName in uploadedBy. -modified HTML parsing in getArtist. -Replaced creator with author.
This commit is contained in:
parent
f1b40728b2
commit
d720750ab4
17 changed files with 56 additions and 61 deletions
|
|
@ -40,7 +40,8 @@ fun media(
|
|||
dateUploaded: Date? = Date(),
|
||||
license: String? = "license",
|
||||
licenseUrl: String? = "licenseUrl",
|
||||
creator: String? = "creator",
|
||||
author: String? = "creator",
|
||||
user:String?="user",
|
||||
pageId: String = "pageId",
|
||||
categories: List<String>? = listOf("categories"),
|
||||
coordinates: LatLng? = LatLng(0.0, 0.0, 0.0f),
|
||||
|
|
@ -56,7 +57,8 @@ fun media(
|
|||
dateUploaded,
|
||||
license,
|
||||
licenseUrl,
|
||||
creator,
|
||||
author,
|
||||
user,
|
||||
categories,
|
||||
coordinates,
|
||||
captions,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue