Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Jan 23, 2025
1 parent 7997b92 commit b3926d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webview2/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ impl InnerWebView {
.iter()
.map(|n| n.0.clone())
.collect();
if !attributes.custom_protocols.is_empty() {
if !attributes.custom_protocols.is_empty() || !attributes.async_custom_protocols.is_empty() {
unsafe {
Self::attach_custom_protocol_handler(
&webview,
Expand Down

0 comments on commit b3926d0

Please sign in to comment.