mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-06-08 06:25:34 +08:00
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user