Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Dec 15, 2024
1 parent 6c88fe9 commit 6a916a2
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 @@ -150,7 +150,7 @@ pub fn set_user_agent(win: &tauri::WebviewWindow) {
win
.with_webview(|webview| unsafe {
let webview: &WKWebView = &*webview.inner().cast();
let useragent = NSString::from_str(useragent());
let useragent = NSString::from_str(&useragent());

webview.setCustomUserAgent(Some(&useragent));
})
Expand Down

0 comments on commit 6a916a2

Please sign in to comment.