Fixed state update bug

This commit is contained in:
2025-06-08 19:11:57 +02:00
parent 1f03c0fbce
commit 845528e362
8 changed files with 178 additions and 156 deletions

View File

@@ -8,8 +8,8 @@ import 'package:flutter/cupertino.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
await ConfigService.initConfig();
Globals.pointLimit = await ConfigService.getPointLimit();
Globals.caboPenalty = await ConfigService.getCaboPenalty();
globals.pointLimit = await ConfigService.getPointLimit();
globals.caboPenalty = await ConfigService.getCaboPenalty();
runApp(const App());
}