Fix tags_map
This commit is contained in:
parent
ab5e821ff3
commit
164e2e55fd
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ fun joinTags(tags: List<String>?): String {
|
||||||
}
|
}
|
||||||
|
|
||||||
fun joinTagsMap(tags: List<String>?): String {
|
fun joinTagsMap(tags: List<String>?): String {
|
||||||
return tags?.mapIndexed { i, tag -> { "${i+1}=${tag}" }}?.joinToString(",") ?: ""
|
return tags?.mapIndexed { i, tag -> "${i+1}=${tag}" }?.joinToString(",") ?: ""
|
||||||
}
|
}
|
||||||
|
|
||||||
fun splitTags(tags: String?): List<String> {
|
fun splitTags(tags: String?): List<String> {
|
||||||
|
|
Loading…
Reference in a new issue