fixes before build 2
This commit is contained in:
+5
-5
@@ -13,20 +13,20 @@ import 'utils/constants.dart';
|
||||
Future<void> main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
await ReceiptParser.loadConfig();
|
||||
runApp(ReceipityApp());
|
||||
runApp(GrociApp());
|
||||
}
|
||||
|
||||
class ReceipityApp extends StatefulWidget {
|
||||
ReceipityApp({super.key, ProductRepository? repository})
|
||||
class GrociApp extends StatefulWidget {
|
||||
GrociApp({super.key, ProductRepository? repository})
|
||||
: repository = repository ?? ProductRepository();
|
||||
|
||||
final ProductRepository repository;
|
||||
|
||||
@override
|
||||
State<ReceipityApp> createState() => _ReceipityAppState();
|
||||
State<GrociApp> createState() => _GrociAppState();
|
||||
}
|
||||
|
||||
class _ReceipityAppState extends State<ReceipityApp> {
|
||||
class _GrociAppState extends State<GrociApp> {
|
||||
late final AppSettings _settings;
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user