Skip to content

Commit 391dea4

Browse files
committed
chore: inline option
1 parent 4fd7a68 commit 391dea4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/driver/react-native/ReactNativeDriver.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -922,12 +922,10 @@ export class ReactNativeDriver implements Driver {
922922
{
923923
name: this.options.database,
924924
location: this.options.location,
925+
encryptionKey: this.options.encryptionKey,
925926
},
926927
this.options.extra || {},
927928
)
928-
if (this.options.encryptionKey) {
929-
options.encryptionKey = this.options.encryptionKey
930-
}
931929

932930
this.sqlite.openDatabase(
933931
options,

0 commit comments

Comments
 (0)