Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Commit

Permalink
fix: correct database dir
Browse files Browse the repository at this point in the history
  • Loading branch information
CCXXXI committed Oct 31, 2021
1 parent 3e0cb9e commit 94f5d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/database.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Future<void> initDatabase({
final dir = await getApplicationSupportDirectory();
Hive.init(dir.path);
} else {
await Hive.initFlutter();
await Hive.initFlutter(packageName);
}

Hive.registerAdapter(UserAdapter());
Expand Down

0 comments on commit 94f5d59

Please sign in to comment.