BugFix for duplicated notes in the LocalCache
This commit is contained in:
@@ -87,7 +87,6 @@ object LocalCache {
|
|||||||
return notes.get(idHex) ?: run {
|
return notes.get(idHex) ?: run {
|
||||||
val newObject = Note(idHex)
|
val newObject = Note(idHex)
|
||||||
notes.putIfAbsent(idHex, newObject) ?: newObject
|
notes.putIfAbsent(idHex, newObject) ?: newObject
|
||||||
newObject
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user