Просмотр исходного кода

fix(iOS): css customization support

leizhe 4 лет назад
Родитель
Сommit
206c3a6e2a
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      src/main/frontend/handler/file.cljs

+ 4 - 1
src/main/frontend/handler/file.cljs

@@ -146,8 +146,11 @@
                                           (not= "/" (first file))))
                (str (config/get-repo-dir repo-url) "/" file)
 
-               (and (mobile/is-native-platform?) (not= "/" (first file)))
+               (and (mobile/native-android?) (not= "/" (first file)))
                (str (config/get-repo-dir repo-url) "/" file)
+               
+               (and (mobile/native-ios?) (not= "/" (first file)))
+               file
 
                :else
                file)