Skip to content

Commit

Permalink
Quick Fix for Flutter (mongodb-university#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbullinger authored Apr 4, 2024
1 parent 4728d21 commit 896ee4e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions sync-todo/v2/client/flutter/lib/screens/homepage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ class HomePage extends StatelessWidget {
Widget build(BuildContext context) {
return Provider.of<RealmServices?>(context, listen: false) == null
? Container()
: const Scaffold(
: Scaffold(
appBar: TodoAppBar(),
body: TodoList(),
body: const TodoList(),
floatingActionButtonLocation:
FloatingActionButtonLocation.endDocked,
floatingActionButton: CreateItemAction(),
floatingActionButton: const CreateItemAction(),
);
}
}
6 changes: 3 additions & 3 deletions sync-todo/v2/generated/flutter/lib/screens/homepage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ class HomePage extends StatelessWidget {
Widget build(BuildContext context) {
return Provider.of<RealmServices?>(context, listen: false) == null
? Container()
: const Scaffold(
: Scaffold(
appBar: TodoAppBar(),
body: TodoList(),
body: const TodoList(),
floatingActionButtonLocation:
FloatingActionButtonLocation.endDocked,
floatingActionButton: CreateItemAction(),
floatingActionButton: const CreateItemAction(),
);
}
}

0 comments on commit 896ee4e

Please sign in to comment.