diff --git a/ng-app/README.md b/ng-app/README.md index b7b3309..4d9688a 100644 --- a/ng-app/README.md +++ b/ng-app/README.md @@ -69,7 +69,7 @@ cargo tauri dev --target x86_64-pc-windows-msvc to build the production app installer : -### MacOs +### MacOs (10.14+) ``` cargo tauri build diff --git a/ng-app/src/lib/Login.svelte b/ng-app/src/lib/Login.svelte index 7208027..b0d320a 100644 --- a/ng-app/src/lib/Login.svelte +++ b/ng-app/src/lib/Login.svelte @@ -16,6 +16,9 @@ import { emoji_cat, emojis, load_svg } from "../wallet_emojis"; export let wallet; + let tauri_platform = import.meta.env.TAURI_PLATFORM; + let mobile = tauri_platform == "android" || tauri_platform == "ios"; + const dispatch = createEventDispatcher(); onMount(async () => { @@ -191,7 +194,11 @@ {:else if step == "pazzle"} -