fix: nested void function in encryption helper
- remove the accidentally nested void in the ffiInit implementation Signed-off-by: The one with the braid <info@braid.business>
This commit is contained in:
parent
4250ad5bed
commit
5dc95dea3f
|
|
@ -38,8 +38,7 @@ class SQfLiteEncryptionHelper {
|
||||||
/// );
|
/// );
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
static void ffiInit() =>
|
static void ffiInit() => open.overrideForAll(_loadSQLCipherDynamicLibrary);
|
||||||
() => open.overrideForAll(_loadSQLCipherDynamicLibrary);
|
|
||||||
|
|
||||||
static DynamicLibrary _loadSQLCipherDynamicLibrary() {
|
static DynamicLibrary _loadSQLCipherDynamicLibrary() {
|
||||||
// Taken from https://github.com/simolus3/sqlite3.dart/blob/e66702c5bec7faec2bf71d374c008d5273ef2b3b/sqlite3/lib/src/load_library.dart#L24
|
// Taken from https://github.com/simolus3/sqlite3.dart/blob/e66702c5bec7faec2bf71d374c008d5273ef2b3b/sqlite3/lib/src/load_library.dart#L24
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue