fixed SavedCollections not inserting first item
This commit is contained in:
@@ -140,7 +140,7 @@ class SavedSourceSet(private val file: File) {
|
|||||||
_map[source]?.remove(value)
|
_map[source]?.remove(value)
|
||||||
|
|
||||||
if (!_map.containsKey(source))
|
if (!_map.containsKey(source))
|
||||||
_map[source] = mutableListOf()
|
_map[source] = mutableListOf(value)
|
||||||
else
|
else
|
||||||
_map[source]!!.add(value)
|
_map[source]!!.add(value)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user