mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 03:26:31 +00:00
[16137] Disable text description in lightbox for now (#16169)
This commit is contained in:
parent
78d6db5bf0
commit
a1d9f45f2f
@ -331,3 +331,5 @@
|
||||
(def ^:const auth-method-biometric "biometric")
|
||||
(def ^:const auth-method-biometric-prepare "biometric-prepare")
|
||||
(def ^:const auth-method-none "none")
|
||||
|
||||
(def ^:const image-description-in-lightbox? false)
|
||||
|
@ -6,7 +6,8 @@
|
||||
[status-im2.contexts.chat.lightbox.style :as style]
|
||||
[utils.re-frame :as rf]
|
||||
[status-im2.contexts.chat.lightbox.animations :as anim]
|
||||
[status-im2.contexts.chat.lightbox.constants :as c]))
|
||||
[status-im2.contexts.chat.lightbox.constants :as c]
|
||||
[status-im2.constants :as constants]))
|
||||
|
||||
(defn get-small-item-layout
|
||||
[_ index]
|
||||
@ -56,7 +57,8 @@
|
||||
:start {:x 0 :y 1}
|
||||
:end {:x 0 :y 0}
|
||||
:style (style/gradient-container insets animations derived)}
|
||||
[rn/text {:style style/text-style} text]
|
||||
(when constants/image-description-in-lightbox?
|
||||
[rn/text {:style style/text-style} text])
|
||||
[rn/flat-list
|
||||
{:ref #(reset! (:small-list-ref props) %)
|
||||
:key-fn :message-id
|
||||
|
Loading…
x
Reference in New Issue
Block a user