diff --git a/lib/main_dev.dart b/lib/main_dev.dart index b43352f..0899050 100644 --- a/lib/main_dev.dart +++ b/lib/main_dev.dart @@ -1,18 +1,4 @@ -import 'package:flutter/material.dart'; -import 'package:lightmeter/application.dart'; -import 'package:lightmeter/application_wrapper.dart'; import 'package:lightmeter/environment.dart'; -import 'package:m3_lightmeter_iap/m3_lightmeter_iap.dart'; +import 'package:lightmeter/runner.dart'; -Future main() async { - WidgetsFlutterBinding.ensureInitialized(); - runApp( - IAPProducts( - products: [IAPProduct(storeId: IAPProductType.paidFeatures.storeId)], - child: const ApplicationWrapper( - Environment.dev(), - child: Application(), - ), - ), - ); -} +Future main() => runLightmeterApp(const Environment.dev());