Fixed state update bug
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user