From 1cc3f61b8194804b23bf7e544b2c343deff0a488 Mon Sep 17 00:00:00 2001 From: viper151 Date: Sun, 7 Dec 2025 07:49:08 +0100 Subject: [PATCH] Update App.jsx --- src/App.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 6fa2aa7..961e178 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -89,7 +89,8 @@ function AppContent() { window.navigator.standalone || document.referrer.includes('android-app://'); setIsPWA(isStandalone); - + document.addEventListener('touchstart', {}); + // Add class to html and body for CSS targeting if (isStandalone) { document.documentElement.classList.add('pwa-mode'); @@ -966,4 +967,4 @@ function App() { ); } -export default App; \ No newline at end of file +export default App;