new dist.tar for ngaccount

pull/19/head
Niko PLP 1 year ago
parent cb8f6acf99
commit 3d4c735cbd
  1. 2
      ng-app/src-tauri/src/lib.rs
  2. 1
      ng-app/src/routes/WalletCreate.svelte

@ -215,7 +215,7 @@ async fn open_window(
) -> Result<(), ()> { ) -> Result<(), ()> {
log_debug!("open window url {:?}", url); log_debug!("open window url {:?}", url);
let already_exists = app.get_window(&label); let already_exists = app.get_window(&label);
//#[cfg(desktop)] #[cfg(desktop)]
if already_exists.is_some() { if already_exists.is_some() {
let _ = already_exists.unwrap().close(); let _ = already_exists.unwrap().close();
std::thread::sleep(std::time::Duration::from_secs(1)); std::thread::sleep(std::time::Duration::from_secs(1));

@ -281,7 +281,6 @@
}); });
const select_bsp = async (bsp_url, bsp_name) => { const select_bsp = async (bsp_url, bsp_name) => {
console.log("tauri_platform",tauri_platform);
if (!tauri_platform || tauri_platform == "android") { if (!tauri_platform || tauri_platform == "android") {
let redirect_url; let redirect_url;
if (tauri_platform) { if (tauri_platform) {

Loading…
Cancel
Save