mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +01:00
Fix return type does not match between app and web
This commit is contained in:
parent
4e74d67b95
commit
288e6f4b3c
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ import 'package:drift/native.dart';
|
|||
import 'package:flutter/services.dart' show rootBundle;
|
||||
import 'package:path/path.dart' as path_lib;
|
||||
import 'package:path_provider/path_provider.dart';
|
||||
import 'package:sqlite3/common.dart';
|
||||
import 'package:sqlite3/sqlite3.dart';
|
||||
import 'package:sqlite3_flutter_libs/sqlite3_flutter_libs.dart' as sql;
|
||||
|
||||
|
@ -37,7 +38,7 @@ Future<void> applyWorkaroundToOpenSqlite3OnOldAndroidVersions() {
|
|||
return sql.applyWorkaroundToOpenSqlite3OnOldAndroidVersions();
|
||||
}
|
||||
|
||||
Future<Database> openRawSqliteDbFromAsset(
|
||||
Future<CommonDatabase> openRawSqliteDbFromAsset(
|
||||
String assetRelativePath,
|
||||
String outputFilename, {
|
||||
bool isReadOnly = false,
|
||||
|
|
Loading…
Reference in a new issue