Skip to content

Commit

Permalink
close web view
Browse files Browse the repository at this point in the history
Signed-off-by: phuoc <[email protected]>
  • Loading branch information
phuocbitmark committed Oct 25, 2023
1 parent 883baa9 commit a2cf97e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/screen/irl_screen/webview_irl_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ class _IRLWebScreenState extends State<IRLWebScreen> {
_controller?.addJavaScriptHandler(
handlerName: 'closeWebview',
callback: (args) async {
injector.get<NavigationService>().popUntilHomeOrSettings();
injector.get<NavigationService>().goBack();
_metricClient.addEvent(MixpanelEvent.callIrlFunction, data: {
'function': IrlWebviewFunction.closeWebview,
'url': widget.payload.url,
Expand Down

0 comments on commit a2cf97e

Please sign in to comment.