Skip to content

Commit

Permalink
Removed '_countProducts' from '_countProducts' method
Browse files Browse the repository at this point in the history
  • Loading branch information
areee committed Jun 19, 2022
1 parent 49595c3 commit b8a0965
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bin/hive_handling.dart
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ Future<void> _updateProduct(Box<HiveProduct> hiveProducts) async {
await hiveProducts.put(orderNumberAsInt,
HiveProduct(receiptName: name!, eanName: eanName!));
print('Product updated!');
_countProducts(hiveProducts);
} else {
print('Product not updated!');
}
Expand Down

0 comments on commit b8a0965

Please sign in to comment.