We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13e1519 commit e725416Copy full SHA for e725416
src-tauri/src/lib.rs
@@ -149,7 +149,9 @@ pub fn listen_for_url_changes() {
149
thread::spawn(move || {
150
let app = &*get_app_handle().lock().expect("failed to get app handle");
151
let mut main_window = app.get_webview_window("main").unwrap();
152
- let url = main_window.url().expect("Failed to get URL from main window");
+ let url = main_window
153
+ .url()
154
+ .expect("Failed to get URL from main window");
155
loop {
156
let new_url = main_window.url().unwrap();
157
if new_url != url {
0 commit comments