Skip to content

Commit

Permalink
Fix minor issue (#100)
Browse files Browse the repository at this point in the history
* Fix minor issue

* Fix minor issue
  • Loading branch information
cp-pratik-k authored Dec 31, 2024
1 parent 50fb128 commit 481ff78
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/lib/components/web_view_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ class _WebViewScreenState extends State<WebViewScreen> {
..setNavigationDelegate(
NavigationDelegate(
onNavigationRequest: (request) {
if (request.url
.startsWith("https://canopas.github.io/cloud-gallery/") &&
request.url != "https://canopas.github.io/cloud-gallery/") {
if (request.url.startsWith("https://cloud-gallery.canopas.com/") &&
request.url != "https://cloud-gallery.canopas.com/") {
return NavigationDecision.navigate;
}
return NavigationDecision.prevent;
Expand Down

0 comments on commit 481ff78

Please sign in to comment.