فهرست منبع

remove js/alert codes

leizhe 4 سال پیش
والد
کامیت
d16f74888d
2فایلهای تغییر یافته به همراه1 افزوده شده و 4 حذف شده
  1. 1 1
      capacitor.config.ts
  2. 0 3
      src/main/frontend/mobile/util.cljs

+ 1 - 1
capacitor.config.ts

@@ -17,7 +17,7 @@ const config: CapacitorConfig = {
     // do not commit this into source control
     // do not commit this into source control
     // source: https://capacitorjs.com/docs/guides/live-reload
     // source: https://capacitorjs.com/docs/guides/live-reload
     , server: {
     , server: {
-        url: "http://192.168.0.104:3001" //process.env.LOGSEQ_APP_SERVER_URL,
+        url: process.env.LOGSEQ_APP_SERVER_URL,
         cleartext: true
         cleartext: true
     }
     }
 };
 };

+ 0 - 3
src/main/frontend/mobile/util.cljs

@@ -102,6 +102,3 @@
     (if (and model landscape?)
     (if (and model landscape?)
       20
       20
       (:statusbar (model @idevice-info)))))
       (:statusbar (model @idevice-info)))))
-
-(js/alert (str "Device Model: " (first (get-idevice-model))
-               "\nStatus Bar height: " (get-idevice-statusbar-height)))