Skip to content

Commit

Permalink
fix: linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Dec 15, 2024
1 parent 6a916a2 commit 493a74e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/util/window_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ pub fn set_user_agent(win: &tauri::WebviewWindow) {
let webview = webview.inner();
let settings = webview.settings().unwrap();

settings.set_user_agent(Some(useragent()));
settings.set_user_agent(Some(&useragent()));
})
.unwrap_or_else(|e| log!("Failed to set user-agent: {:?}", e));
}
Expand Down

0 comments on commit 493a74e

Please sign in to comment.