Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
dasmikko committed Aug 17, 2019
1 parent 822034b commit bfac174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers/hiveHelper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class AppHiveBox {
}

static Future<Box> getBox() async {
return Hive.box('knockyBox', compactionStrategy: (entries, deletedEntries) {
return Hive.openBox('knockyBox', compactionStrategy: (entries, deletedEntries) {
return deletedEntries > 50;
});
}
Expand Down

0 comments on commit bfac174

Please sign in to comment.