diff --git a/lib/main.dart b/lib/main.dart index c018ecd7..7f839440 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -107,13 +107,9 @@ class MyApp extends StatefulWidget { class _MyAppState extends State { @override - void initState() { + Widget build(BuildContext context) { Provider.of(context, listen: false).loadUser(); - super.initState(); - } - @override - Widget build(BuildContext context) { double defaultFontSize = 14; double bodyText1FontSize = 10; if (Platform.isIOS) {