Fix bug with re-opting into PINs.
This commit is contained in:
parent
7d98850825
commit
08f91b4583
1 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,7 @@ class SvrValues internal constructor(store: KeyValueStore) : SignalStoreValues(s
|
|||
store.beginWrite()
|
||||
.putString(PIN, pin)
|
||||
.putString(LOCK_LOCAL_PIN_HASH, localPinHash(pin))
|
||||
.putBoolean(OPTED_OUT, false)
|
||||
.commit()
|
||||
}
|
||||
|
||||
|
@ -60,6 +61,7 @@ class SvrValues internal constructor(store: KeyValueStore) : SignalStoreValues(s
|
|||
store.beginWrite()
|
||||
.putString(PIN, pin)
|
||||
.putString(LOCK_LOCAL_PIN_HASH, localPinHash(pin))
|
||||
.putBoolean(OPTED_OUT, false)
|
||||
.commit()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue