mirror of
https://github.com/Matte23/circolapp.git
synced 2026-10-15 23:45:16 +00:00
Change database list item delimiter
This commit is contained in:
1 parent
f8eea5e335
commit
3a1e213442
1 file changed
+2
-2
@@ -27,7 +27,7 @@ class Converters {
|
|||||||
val list: MutableList<String> = mutableListOf()
|
val list: MutableList<String> = mutableListOf()
|
||||||
|
|
||||||
if (data != null) {
|
if (data != null) {
|
||||||
for (attachment in data.split(",")) {
|
for (attachment in data.split("˜")) {
|
||||||
list.add(attachment)
|
list.add(attachment)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -40,7 +40,7 @@ class Converters {
|
|||||||
var string = ""
|
var string = ""
|
||||||
|
|
||||||
for (attachment in list) {
|
for (attachment in list) {
|
||||||
string += "$attachment,"
|
string += "$attachment˜"
|
||||||
}
|
}
|
||||||
|
|
||||||
return string
|
return string
|
||||||
|
|||||||
Reference in new issue
Block a user