fix(ui): flickering loading indicator
This commit is contained in:
@@ -2315,7 +2315,7 @@ class _PickerWidgetState extends State<_PickerWidget> {
|
|||||||
future: requestPermission,
|
future: requestPermission,
|
||||||
builder: (context, snapshot) {
|
builder: (context, snapshot) {
|
||||||
if (!snapshot.hasData) {
|
if (!snapshot.hasData) {
|
||||||
return const Center(child: CircularProgressIndicator());
|
return const Offstage();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (snapshot.data!) {
|
if (snapshot.data!) {
|
||||||
|
|||||||
Reference in New Issue
Block a user