use location.replace for WKWebView navigation

This commit is contained in:
2026-09-04 22:27:24 -07:00
parent be0810ea6d
commit 3c6ae0125b
2 changed files with 3 additions and 3 deletions

View File

@@ -587,7 +587,7 @@ void main() {
const data = e.payload || e;
if (data && data.url) {
setStatus("Launching...");
window.location.href = data.url;
window.location.replace(data.url);
}
});