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

enhance: disable tooltip on mobile

Tienson Qin 4 лет назад
Родитель
Сommit
6b45277229
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/frontend/state.cljs

+ 1 - 1
src/main/frontend/state.cljs

@@ -1238,7 +1238,7 @@
 
 (defn enable-tooltip?
   []
-  (if (util/mobile?)
+  (if (or (util/mobile?) (mobile-util/is-native-platform?))
     false
     (get (get (sub-config) (get-current-repo))
          :ui/enable-tooltip?