Skip to content

Commit

Permalink
discover webviews: open links in app if same domain Discover tab #1867
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkbee1 committed Sep 5, 2023
1 parent 65aaada commit b61aa48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/dashboard/discover/view/discover_tab_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ class _DiscoverTabPageViewState extends State<DiscoverTabPageView>
url: Urls.discoverNftsWebView,
onNavigationRequest: (request) async {
if (!request.url.startsWith(
Urls.discoverNftsWebView,
Urls.discoverCoinsWebView,
)) {
// await LaunchUrl.launch(request.url);
await LaunchUrl.launch(request.url);
return NavigationDecision.prevent;
} else {
return NavigationDecision.navigate;
Expand Down

0 comments on commit b61aa48

Please sign in to comment.