center error text

This commit is contained in:
krawieck 2020-12-04 13:58:17 +01:00
parent 6a62e47cf7
commit 33f486576e
1 changed files with 6 additions and 1 deletions

View File

@ -157,7 +157,12 @@ class HomeTab extends HookWidget {
if (accStore.instances.isEmpty) {
return Scaffold(
body: Text('there needs to be at least one instance'),
body: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Center(child: Text('there needs to be at least one instance')),
],
),
);
}