mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 08:04:45 +00:00
BugFix for duplicated notes in the LocalCache
This commit is contained in:
@@ -87,7 +87,6 @@ object LocalCache {
|
||||
return notes.get(idHex) ?: run {
|
||||
val newObject = Note(idHex)
|
||||
notes.putIfAbsent(idHex, newObject) ?: newObject
|
||||
newObject
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user