mirror of https://github.com/usbharu/Hideout.git
fix: addが正常に追加されていない問題を修正
This commit is contained in:
parent
081be4e305
commit
4e613c4590
|
@ -13,8 +13,9 @@ open class Object : JsonLd {
|
|||
companion object {
|
||||
@JvmStatic
|
||||
protected fun add(list:List<String>,type:String):List<String> {
|
||||
list.toMutableList().add(type)
|
||||
return list.distinct()
|
||||
val toMutableList = list.toMutableList()
|
||||
toMutableList.add(type)
|
||||
return toMutableList.distinct()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue