mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
* location added * tests * changes requested * comments * Test fixed, minor improvement
This commit is contained in:
parent
91a5aa1abe
commit
7a5774e479
9 changed files with 88 additions and 33 deletions
|
|
@ -76,6 +76,7 @@ fun depictSearchItem(
|
|||
|
||||
fun place(
|
||||
name: String = "name",
|
||||
lang: String = "en",
|
||||
label: Label? = null,
|
||||
longDescription: String = "longDescription",
|
||||
latLng: LatLng? = null,
|
||||
|
|
@ -84,7 +85,7 @@ fun place(
|
|||
pic: String = "pic",
|
||||
destroyed: String = "destroyed"
|
||||
): Place {
|
||||
return Place(name, label, longDescription, latLng, category, siteLinks, pic, destroyed)
|
||||
return Place(lang, name, label, longDescription, latLng, category, siteLinks, pic, destroyed)
|
||||
}
|
||||
|
||||
fun entityId(wikiBaseEntityValue: WikiBaseEntityValue = wikiBaseEntityValue()) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue