|
|
@ -45,7 +45,7 @@ export default class SystemRepo { |
|
|
|
|
|
|
|
deleteSystemValue = (key) => { |
|
|
|
let existingKey = this.getSystemKeyValue(key); |
|
|
|
if (!existingKey.id === null) { |
|
|
|
if (existingKey.id !== null) { |
|
|
|
this.realmDB.write(() => { |
|
|
|
this.realmDB.delete(existingKey); |
|
|
|
}); |
|
|
|