diff --git a/index.html b/index.html index 47ae491..054bfff 100644 --- a/index.html +++ b/index.html @@ -76,22 +76,10 @@ color: #666; font-size: 12px; } - #install-instructions { - display: none; - text-align: center; - padding: 20px; - }

Exchange Rate Calculator

- - -
-

For the best experience, add this web app to your home screen:

-

1. Tap the Share button.

-

2. Tap Add to Home Screen.

-
@@ -161,22 +149,6 @@ calculationList.appendChild(li); }); } - - // Show installation instructions only if accessed via browser - if (window.matchMedia('(display-mode: browser)').matches) { - document.getElementById('install-instructions').style.display = 'block'; - } - - // Hide installation instructions once installed as standalone PWA - window.addEventListener('beforeinstallprompt', (event) => { - event.preventDefault(); // Prevent default browser prompt - document.getElementById('install-instructions').style.display = 'none'; - }); - - // Check if launched from home screen and hide instructions - if (window.matchMedia('(display-mode: standalone)').matches) { - document.getElementById('install-instructions').style.display = 'none'; - }