Update App.jsx

This commit is contained in:
viper151
2025-12-07 07:49:08 +01:00
committed by GitHub
parent 3a72a262a9
commit 1cc3f61b81

View File

@@ -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;
export default App;