mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-08-25 01:51:02 +08:00
Only let us reset --hard if it will actually do something
This commit is contained in:
@ -21,7 +21,7 @@ class FutureBuilderWithProgress<T> extends StatelessWidget {
|
||||
if (snapshot.hasData) {
|
||||
return snapshot.data as Widget;
|
||||
}
|
||||
return const CircularProgressIndicator();
|
||||
return const Center(child: CircularProgressIndicator());
|
||||
},
|
||||
future: future,
|
||||
);
|
||||
|
Reference in New Issue
Block a user