Skip to content

Commit

Permalink
attempt to fix firebase crash
Browse files Browse the repository at this point in the history
  • Loading branch information
maxisme committed Oct 30, 2021
1 parent 7cca7fd commit 8d264ce
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,9 @@ class MyApp extends StatefulWidget {

class _MyAppState extends State<MyApp> {
@override
void initState() {
Widget build(BuildContext context) {
Provider.of<User>(context, listen: false).loadUser();
super.initState();
}

@override
Widget build(BuildContext context) {
double defaultFontSize = 14;
double bodyText1FontSize = 10;
if (Platform.isIOS) {
Expand Down

0 comments on commit 8d264ce

Please sign in to comment.