Skip to content

Commit 7141416

Browse files
committed
fixed (#8)
1 parent 4a360b8 commit 7141416

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/src/easy_loading.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,7 @@ class EasyLoading {
331331
),
332332
);
333333

334-
WidgetsBinding.instance.addPostFrameCallback(
335-
(_) => Overlay.of(_getInstance().context).insert(_overlayEntry));
334+
Overlay.of(_getInstance().context).insert(_overlayEntry);
336335

337336
_getInstance()._overlayEntry = _overlayEntry;
338337
_getInstance()._key = _key;

0 commit comments

Comments
 (0)