Browse Source

fix(android): disable image resize on sm screen

Andelf 2 năm trước cách đây
mục cha
commit
c0f8dc4ee2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/main/frontend/components/block.cljs

+ 1 - 1
src/main/frontend/components/block.cljs

@@ -276,7 +276,7 @@
   (let [size (get state ::size)]
     (ui/resize-provider
      (ui/resize-consumer
-      (if-not (mobile-util/native-ios?)
+      (if (not (mobile-util/native-platform?))
         (cond->
          {:className "resize image-resize"
           :onSizeChanged (fn [value]