Skip to content

Commit 7873ddd

Browse files
committed
chore: Update datastore-preferences & clean diff
1 parent 8686d4a commit 7873ddd

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

KeychainExample/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ allprojects {
4545
}
4646
// END:detox
4747
}
48-
48+
4949
// START:detox
5050
afterEvaluate { project ->
5151
def androidExtension = project.extensions.findByName('android')

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ dependencies {
8484
implementation "com.facebook.conceal:conceal:1.1.3@aar"
8585

8686
// Used to store encrypted data
87-
implementation("androidx.datastore:datastore-preferences:1.0.0")
87+
implementation("androidx.datastore:datastore-preferences:1.1.1")
8888
}
8989

9090
if (isNewArchitectureEnabled()) {

android/src/main/java/com/oblador/keychain/KeychainModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class KeychainModule(reactContext: ReactApplicationContext) :
136136
// region Initialization
137137
/** Default constructor. */
138138
init {
139-
prefsStorage = DataStorePrefsStorage(reactContext, coroutineScope)
139+
prefsStorage = DataStorePrefsStorage(reactContext, coroutineScope)
140140
addCipherStorageToMap(CipherStorageFacebookConceal(reactContext))
141141
addCipherStorageToMap(CipherStorageKeystoreAesCbc(reactContext))
142142

android/src/main/java/com/oblador/keychain/PrefsStorage.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import com.oblador.keychain.PrefsStorageBase.ResultSet
1414
import com.oblador.keychain.cipherStorage.CipherStorage.EncryptionResult
1515

1616
@Suppress("unused")
17-
open class PrefsStorage(reactContext: ReactApplicationContext) : PrefsStorageBase {
17+
class PrefsStorage(reactContext: ReactApplicationContext) : PrefsStorageBase {
1818

1919
private val prefs: SharedPreferences
2020

0 commit comments

Comments
 (0)