fixed SavedCollections not inserting first item

This commit is contained in:
tom5079
2021-04-04 15:43:42 +09:00
parent ca54fb6eb0
commit 00c8078642

View File

@@ -140,7 +140,7 @@ class SavedSourceSet(private val file: File) {
_map[source]?.remove(value)
if (!_map.containsKey(source))
_map[source] = mutableListOf()
_map[source] = mutableListOf(value)
else
_map[source]!!.add(value)