From d16f74888dc33294f4deb48a7d13589a7ee16f78 Mon Sep 17 00:00:00 2001 From: leizhe Date: Tue, 23 Nov 2021 15:52:06 +0800 Subject: [PATCH] remove js/alert codes --- capacitor.config.ts | 2 +- src/main/frontend/mobile/util.cljs | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/capacitor.config.ts b/capacitor.config.ts index db7b0c1dc59..72930de0d6e 100644 --- a/capacitor.config.ts +++ b/capacitor.config.ts @@ -17,7 +17,7 @@ const config: CapacitorConfig = { // do not commit this into source control // source: https://capacitorjs.com/docs/guides/live-reload , server: { - url: "http://192.168.0.104:3001" //process.env.LOGSEQ_APP_SERVER_URL, + url: process.env.LOGSEQ_APP_SERVER_URL, cleartext: true } }; diff --git a/src/main/frontend/mobile/util.cljs b/src/main/frontend/mobile/util.cljs index 6a23817fdd5..696b04edc7c 100644 --- a/src/main/frontend/mobile/util.cljs +++ b/src/main/frontend/mobile/util.cljs @@ -102,6 +102,3 @@ (if (and model landscape?) 20 (:statusbar (model @idevice-info))))) - -(js/alert (str "Device Model: " (first (get-idevice-model)) - "\nStatus Bar height: " (get-idevice-statusbar-height)))