Disable image description in lightbox (#16405)

This commit is contained in:
Ibrahem Khalil 2023-06-27 12:15:04 +03:00 committed by GitHub
parent 4c8671caa0
commit 79151ee85d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -57,10 +57,11 @@
:start {:x 0 :y 1}
:end {:x 0 :y 0}
:style (style/gradient-container insets animations derived)}
(when c/image-description-in-lightbox?
[message-view/render-parsed-text
{:content content
:chat-id chat-id
:style-override style/text-style}]
:style-override style/text-style}])
[rn/flat-list
{:ref #(reset! (:small-list-ref props) %)
:key-fn :message-id

View File

@ -15,3 +15,5 @@
(def ^:const separator-width 16)
(def ^:const drag-threshold 100)
(def ^:const image-description-in-lightbox? false)