center error text
This commit is contained in:
parent
6a62e47cf7
commit
33f486576e
|
@ -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')),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue