Disable image description in lightbox (#16405)
This commit is contained in:
parent
4c8671caa0
commit
79151ee85d
|
@ -57,10 +57,11 @@
|
||||||
:start {:x 0 :y 1}
|
:start {:x 0 :y 1}
|
||||||
:end {:x 0 :y 0}
|
:end {:x 0 :y 0}
|
||||||
:style (style/gradient-container insets animations derived)}
|
:style (style/gradient-container insets animations derived)}
|
||||||
|
(when c/image-description-in-lightbox?
|
||||||
[message-view/render-parsed-text
|
[message-view/render-parsed-text
|
||||||
{:content content
|
{:content content
|
||||||
:chat-id chat-id
|
:chat-id chat-id
|
||||||
:style-override style/text-style}]
|
:style-override style/text-style}])
|
||||||
[rn/flat-list
|
[rn/flat-list
|
||||||
{:ref #(reset! (:small-list-ref props) %)
|
{:ref #(reset! (:small-list-ref props) %)
|
||||||
:key-fn :message-id
|
:key-fn :message-id
|
||||||
|
|
|
@ -15,3 +15,5 @@
|
||||||
(def ^:const separator-width 16)
|
(def ^:const separator-width 16)
|
||||||
|
|
||||||
(def ^:const drag-threshold 100)
|
(def ^:const drag-threshold 100)
|
||||||
|
|
||||||
|
(def ^:const image-description-in-lightbox? false)
|
||||||
|
|
Loading…
Reference in New Issue