fix(ui): flickering loading indicator
This commit is contained in:
@@ -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!) {
|
||||
|
||||
Reference in New Issue
Block a user