diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index 0dbdcc9..d8fc797 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -74,8 +74,23 @@ export function Home() { } }} /> + ); } + +// Needed on iOS because PWA localStorage is not shared with Safari. +// PWA can only be installed with a static URL (e.g. "/pos/"). +function importWallet() { + const url = prompt("Copy wallet URL from your browser"); + if (url) { + window.location.href = url; + } +}