Making sure iMetas are unique
This commit is contained in:
+3
-1
@@ -68,7 +68,9 @@ class IMetaAttachments {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun addAll(imetas: List<IMetaTag>) {
|
fun addAll(imetas: List<IMetaTag>) {
|
||||||
iMetaAttachments = iMetaAttachments + imetas
|
imetas.forEach {
|
||||||
|
replace(it.url, it)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fun remove(url: String) {
|
fun remove(url: String) {
|
||||||
|
|||||||
Reference in New Issue
Block a user