:accessibility-label :message-image
Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
parent
e2717ade98
commit
88889930ae
|
@ -261,7 +261,8 @@
|
||||||
(reset! visible true)
|
(reset! visible true)
|
||||||
(react/dismiss-keyboard!))
|
(react/dismiss-keyboard!))
|
||||||
:on-long-press on-long-press}
|
:on-long-press on-long-press}
|
||||||
[react/view {:style (style/image-message style-opts)}
|
[react/view {:style (style/image-message style-opts)
|
||||||
|
:accessibility-label :message-image}
|
||||||
[react/image {:style {:width (/ (first @dimensions) k)
|
[react/image {:style {:width (/ (first @dimensions) k)
|
||||||
:height (/ (second @dimensions) k)}
|
:height (/ (second @dimensions) k)}
|
||||||
:resize-mode :contain
|
:resize-mode :contain
|
||||||
|
|
|
@ -42,7 +42,8 @@
|
||||||
:border-color colors/black-transparent
|
:border-color colors/black-transparent
|
||||||
:overflow :hidden
|
:overflow :hidden
|
||||||
:border-radius 16
|
:border-radius 16
|
||||||
:margin-top 8}}
|
:margin-top 8}
|
||||||
|
:accessibility-label :message-image}
|
||||||
[react/image {:style {:width (first @dimensions) :height (last @dimensions)}
|
[react/image {:style {:width (first @dimensions) :height (last @dimensions)}
|
||||||
:resize-mode :contain
|
:resize-mode :contain
|
||||||
:source {:uri uri}}]]
|
:source {:uri uri}}]]
|
||||||
|
|
Loading…
Reference in New Issue