mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Upgrade ktlint and add twitter compose rules.
This commit is contained in:
committed by
Greyson Parrelli
parent
52e9b31554
commit
605289aca4
@@ -59,10 +59,13 @@ internal class AccountValues internal constructor(store: KeyValueStore) : Signal
|
||||
|
||||
@VisibleForTesting
|
||||
const val KEY_E164 = "account.e164"
|
||||
|
||||
@VisibleForTesting
|
||||
const val KEY_ACI = "account.aci"
|
||||
|
||||
@VisibleForTesting
|
||||
const val KEY_PNI = "account.pni"
|
||||
|
||||
@VisibleForTesting
|
||||
const val KEY_IS_REGISTERED = "account.is_registered"
|
||||
}
|
||||
@@ -84,7 +87,7 @@ internal class AccountValues internal constructor(store: KeyValueStore) : Signal
|
||||
KEY_ACI_IDENTITY_PUBLIC_KEY,
|
||||
KEY_ACI_IDENTITY_PRIVATE_KEY,
|
||||
KEY_PNI_IDENTITY_PUBLIC_KEY,
|
||||
KEY_PNI_IDENTITY_PRIVATE_KEY,
|
||||
KEY_PNI_IDENTITY_PRIVATE_KEY
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ class PlainTextSharedPrefsDataStore(private val context: Context) {
|
||||
*/
|
||||
var smsMigrationIdOffset: Long
|
||||
get() = sharedPrefs.getLong(SMS_MIGRATION_ID_OFFSET, -1)
|
||||
|
||||
@SuppressLint("ApplySharedPref")
|
||||
set(value) {
|
||||
sharedPrefs.edit().putLong(SMS_MIGRATION_ID_OFFSET, value).commit()
|
||||
|
||||
Reference in New Issue
Block a user