Skip to content

Commit

Permalink
Update core/tauri/src/ipc/protocol.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Sep 6, 2023
1 parent f9c933f commit 0cc6d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tauri/src/ipc/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ fn handle_ipc_message<R: Runtime>(message: String, manager: &WindowManager<R>, l
}
}
InvokeResponse::Ok(InvokeBody::Raw(v)) => {
if (cfg!(target_os = "macos") || cfg!(target_os = "ios")) {
if cfg!(target_os = "macos") || cfg!(target_os = "ios") {
responder_eval(
&window,
format_callback_result(Result::<_, ()>::Ok(v), callback, error),
Expand Down

0 comments on commit 0cc6d7a

Please sign in to comment.