Virtual whiteboard for sketching hand-drawn like diagrams
Add "Safari" to PWACompat loading condition
Thomas Steiner182a3e39e136
diff --git a/src/excalidraw-app/pwa.ts b/src/excalidraw-app/pwa.tsindex 44f14930d0..bdf92552f3 100644--- a/src/excalidraw-app/pwa.ts+++ b/src/excalidraw-app/pwa.ts@@ -5,7 +5,7 @@ import { EVENT } from "../constants";// No one should have to do this manually, and eventually this annoyance will// go away once https://bugs.webkit.org/show_bug.cgi?id=183937 is fixed.if (- /\b(iPad|iPhone|iPod)\b/.test(navigator.userAgent) &&+ /\b(iPad|iPhone|iPod|Safari)\b/.test(navigator.userAgent) &&!matchMedia("(display-mode: standalone)").matches) {import(/* webpackChunkName: "pwacompat" */ "pwacompat");