2 Commits

Author SHA1 Message Date
viper151
09688a09ca Merge pull request #253 from siteboon/viper151-patch-1
Update App.jsx
2025-12-07 07:49:36 +01:00
viper151
1cc3f61b81 Update App.jsx 2025-12-07 07:49:08 +01:00

View File

@@ -89,7 +89,8 @@ function AppContent() {
window.navigator.standalone || window.navigator.standalone ||
document.referrer.includes('android-app://'); document.referrer.includes('android-app://');
setIsPWA(isStandalone); setIsPWA(isStandalone);
document.addEventListener('touchstart', {});
// Add class to html and body for CSS targeting // Add class to html and body for CSS targeting
if (isStandalone) { if (isStandalone) {
document.documentElement.classList.add('pwa-mode'); document.documentElement.classList.add('pwa-mode');
@@ -966,4 +967,4 @@ function App() {
); );
} }
export default App; export default App;