Skip to content

Commit

Permalink
fix: 4807
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurtanuki committed Nov 19, 2023
1 parent 462b135 commit e12ca41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/smooth_app/lib/database/dao_hive_product.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ class DaoHiveProduct extends AbstractDao implements DaoProductMigrationSource {
Future<void> init() async => Hive.openLazyBox<Product>(_hiveBoxName);

@override
void registerAdapter() =>
Hive.registerAdapter(_ProductAdapter());
void registerAdapter() => Hive.registerAdapter(_ProductAdapter());

LazyBox<Product> _getBox() => Hive.lazyBox<Product>(_hiveBoxName);

Expand Down

0 comments on commit e12ca41

Please sign in to comment.