Fix the layout when there are no items.

This commit is contained in:
2025-02-05 14:16:49 -07:00
parent ecbac615e9
commit 360a36f024
2 changed files with 28 additions and 28 deletions
+3 -5
View File
@@ -118,11 +118,9 @@ class _HomePageState extends State<HomePage> {
});
},
),
body: Center(
child: Container(
color: Theme.of(context).colorScheme.primaryContainer,
child: page,
),
body: Container(
color: Theme.of(context).colorScheme.primaryContainer,
child: Center(child: page),
),
floatingActionButton: floatingButton,
);