mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 20:18:36 +00:00
Fix bug with re-opting into PINs.
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user