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:
The one with the braid 2024-01-31 13:26:29 +01:00 committed by Krille
parent 4250ad5bed
commit 5dc95dea3f
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652
1 changed files with 1 additions and 2 deletions

View File

@ -38,8 +38,7 @@ class SQfLiteEncryptionHelper {
/// );
/// }
/// ```
static void ffiInit() =>
() => open.overrideForAll(_loadSQLCipherDynamicLibrary);
static void ffiInit() => open.overrideForAll(_loadSQLCipherDynamicLibrary);
static DynamicLibrary _loadSQLCipherDynamicLibrary() {
// Taken from https://github.com/simolus3/sqlite3.dart/blob/e66702c5bec7faec2bf71d374c008d5273ef2b3b/sqlite3/lib/src/load_library.dart#L24