fix: Init 'sqlcipher' before creating both downloads and vault databases #619
This commit is contained in:
parent
ce15cf9ea0
commit
979ca2ffe3
|
@ -72,6 +72,10 @@ class SqlManagerFile2(
|
|||
private val context: Context,
|
||||
private val onCreate: (Database) -> IO<Unit>,
|
||||
) : SqlManager {
|
||||
init {
|
||||
System.loadLibrary("sqlcipher")
|
||||
}
|
||||
|
||||
override fun create(
|
||||
masterKey: MasterKey,
|
||||
databaseFactory: (SqlDriver) -> Database,
|
||||
|
|
Loading…
Reference in New Issue