[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 "biometric")
|
||||||
(def ^:const auth-method-biometric-prepare "biometric-prepare")
|
(def ^:const auth-method-biometric-prepare "biometric-prepare")
|
||||||
(def ^:const auth-method-none "none")
|
(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]
|
[status-im2.contexts.chat.lightbox.style :as style]
|
||||||
[utils.re-frame :as rf]
|
[utils.re-frame :as rf]
|
||||||
[status-im2.contexts.chat.lightbox.animations :as anim]
|
[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
|
(defn get-small-item-layout
|
||||||
[_ index]
|
[_ index]
|
||||||
|
@ -56,7 +57,8 @@
|
||||||
: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)}
|
||||||
[rn/text {:style style/text-style} text]
|
(when constants/image-description-in-lightbox?
|
||||||
|
[rn/text {:style style/text-style} text])
|
||||||
[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
|
||||||
|
|
Loading…
Reference in New Issue