mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-12 21:06:43 +02:00
Fix unsupported protocol error for some sources (#2385)
This commit is contained in:
@ -46,7 +46,10 @@ class _AppPageState extends State<AppPage> {
|
||||
}
|
||||
},
|
||||
onNavigationRequest: (NavigationRequest request) =>
|
||||
request.url.startsWith("rustore://")
|
||||
!(request.url.startsWith("http://") ||
|
||||
request.url.startsWith("https://") ||
|
||||
request.url.startsWith("ftp://") ||
|
||||
request.url.startsWith("ftps://"))
|
||||
? NavigationDecision.prevent
|
||||
: NavigationDecision.navigate,
|
||||
),
|
||||
|
Reference in New Issue
Block a user