fix: loading not centered

This commit is contained in:
Alzalia 2025-08-08 01:38:49 +02:00
parent 658585b572
commit 7319e5a1a6
2 changed files with 5 additions and 5 deletions

View file

@ -35,7 +35,7 @@ class _AddPageState extends State<AddPage> {
body: ListenableBuilder(
listenable: widget.viewModel,
builder: (context, child) => switch (widget.viewModel.isLoaded) {
false => CircularProgressIndicator(),
false => Center(child: CircularProgressIndicator()),
true => Stack(
children: [
ColoredBox(color: Colors.black),