fix: formatting
This commit is contained in:
+7
-8
@@ -55,9 +55,9 @@ Future<void> main() async {
|
||||
DriftSettingsService(database: context.read<AppDatabase>()),
|
||||
),
|
||||
ChangeNotifierProvider<InventoryViewModel>(
|
||||
create: (context) => InventoryViewModel(
|
||||
productService: context.read<ProductService>(),
|
||||
)..load(),
|
||||
create: (context) =>
|
||||
InventoryViewModel(productService: context.read<ProductService>())
|
||||
..load(),
|
||||
),
|
||||
ChangeNotifierProvider<ProductListViewModel>(
|
||||
create: (context) => ProductListViewModel(
|
||||
@@ -66,11 +66,10 @@ Future<void> main() async {
|
||||
),
|
||||
),
|
||||
ChangeNotifierProvider<BarScreenViewModel>(
|
||||
create: (context) =>
|
||||
BarScreenViewModel(
|
||||
barTabService: context.read<BarTabService>(),
|
||||
inventory: context.read<InventoryViewModel>(),
|
||||
),
|
||||
create: (context) => BarScreenViewModel(
|
||||
barTabService: context.read<BarTabService>(),
|
||||
inventory: context.read<InventoryViewModel>(),
|
||||
),
|
||||
),
|
||||
ChangeNotifierProvider<HistoryViewModel>(
|
||||
create: (context) =>
|
||||
|
||||
Reference in New Issue
Block a user