Merge pull request #253 from siteboon/viper151-patch-1

Update App.jsx
This commit is contained in:
viper151
2025-12-07 07:49:36 +01:00
committed by GitHub

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;