Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
fix: Return more flexible variant without SafeArea and Scaffold
Browse files Browse the repository at this point in the history
  • Loading branch information
slava-r-epam committed Jun 13, 2024
1 parent efcc5b5 commit 0f48cb0
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions packages/ada_chat_flutter/lib/src/ada_web_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -311,13 +311,9 @@ console.log("adaSettings: " + JSON.stringify(window.adaSettings));
showAdaptiveDialog(
context: context,
barrierColor: Colors.transparent,
builder: (context) => SafeArea(
child: Scaffold(
body: CustomizedWebView(
url: url,
browserSettings: widget.browserSettings,
),
),
builder: (context) => CustomizedWebView(
url: url,
browserSettings: widget.browserSettings,
),
useRootNavigator: false,
),
Expand Down

0 comments on commit 0f48cb0

Please sign in to comment.