fix(ui): flickering loading indicator

This commit is contained in:
Gordon Hayes
2021-09-16 14:04:07 +02:00
parent 58d8b08433
commit 2b0588c9d8
@@ -2315,7 +2315,7 @@ class _PickerWidgetState extends State<_PickerWidget> {
future: requestPermission,
builder: (context, snapshot) {
if (!snapshot.hasData) {
return const Center(child: CircularProgressIndicator());
return const Offstage();
}
if (snapshot.data!) {