Fix bug with re-opting into PINs.

This commit is contained in:
Greyson Parrelli 2025-01-08 13:32:08 -05:00
parent 7d98850825
commit 08f91b4583

View file

@ -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()
}
}