Skip to content

Commit

Permalink
Merge pull request #28 from dasmikko/development
Browse files Browse the repository at this point in the history
Fix error
  • Loading branch information
dasmikko authored Aug 17, 2019
2 parents 5569e65 + bfac174 commit a51816c
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 a51816c

Please sign in to comment.