fix
This commit is contained in:
@@ -2,7 +2,6 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'package:hive_ce_flutter/hive_flutter.dart';
|
||||
import 'app.dart';
|
||||
import 'core/di/service_locator.dart';
|
||||
|
||||
/// Main entry point of the application
|
||||
void main() async {
|
||||
@@ -26,10 +25,7 @@ void main() async {
|
||||
// await Hive.openBox<CartItemModel>(StorageConstants.cartBox);
|
||||
// await Hive.openBox<AppSettingsModel>(StorageConstants.settingsBox);
|
||||
|
||||
// Setup dependency injection
|
||||
await setupServiceLocator();
|
||||
|
||||
// Run the app
|
||||
// Run the app with Riverpod (no GetIt needed - using Riverpod for DI)
|
||||
runApp(
|
||||
const ProviderScope(
|
||||
child: RetailApp(),
|
||||
|
||||
Reference in New Issue
Block a user