File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -478,7 +478,7 @@ class MainScaffold extends StatelessWidget {
478
478
TooltipButton (
479
479
onPressed: () async {
480
480
final id = await Sentry .captureMessage ('UserFeedback' );
481
- if (! context.isMounted ) return ;
481
+ if (! context.mounted ) return ;
482
482
await showDialog (
483
483
context: context,
484
484
builder: (context) {
@@ -901,7 +901,7 @@ Future<void> makeWebRequest(BuildContext context) async {
901
901
902
902
await transaction.finish (status: const SpanStatus .ok ());
903
903
904
- if (! context.isMounted ) return ;
904
+ if (! context.mounted ) return ;
905
905
await showDialog <void >(
906
906
context: context,
907
907
builder: (context) {
@@ -947,7 +947,7 @@ Future<void> makeWebRequestWithDio(BuildContext context) async {
947
947
await span.finish ();
948
948
}
949
949
950
- if (! context.isMounted ) return ;
950
+ if (! context.mounted ) return ;
951
951
await showDialog <void >(
952
952
context: context,
953
953
builder: (context) {
@@ -977,7 +977,7 @@ Future<void> showDialogWithTextAndImage(BuildContext context) async {
977
977
final text =
978
978
await DefaultAssetBundle .of (context).loadString ('assets/lorem-ipsum.txt' );
979
979
980
- if (! context.isMounted ) return ;
980
+ if (! context.mounted ) return ;
981
981
await showDialog <void >(
982
982
context: context,
983
983
// gets tracked if using SentryNavigatorObserver
You can’t perform that action at this time.
0 commit comments