Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/src/cache_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ class FirebaseImageCacheManager {

Future<void> open() async {
db = await openDatabase(
join((await getDatabasesPath())!, dbName),
join((await getDatabasesPath()), dbName),
onCreate: (Database db, int version) async {
await db.execute('''
CREATE TABLE $table (
uri TEXT PRIMARY KEY,
remotePath TEXT,
localPath TEXT,
bucket TEXT,
remotePath TEXT,
localPath TEXT,
bucket TEXT,
version INTEGER
)
''');
Expand Down