Skip to content

Commit 2fa0b42

Browse files
fix: apply url.as_ref() to mobile code path for consistency
Co-authored-by: Anthony <AnthonyRonning@users.noreply.github.com>
1 parent cfae1de commit 2fa0b42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src-tauri/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ pub fn run() {
262262
// but the handler for incoming URLs still works
263263
app.deep_link().on_open_url(move |event| {
264264
if let Some(url) = event.urls().first() {
265-
handle_deep_link_event(&url.to_string(), &app_handle);
265+
handle_deep_link_event(url.as_ref(), &app_handle);
266266
}
267267
});
268268

0 commit comments

Comments
 (0)