Fixed desktop build
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
This commit is contained in:
parent
5a02074426
commit
b71e37d8ab
|
@ -68,7 +68,7 @@
|
|||
"querystring-es3": "0.2.1",
|
||||
"react": "16.6.1",
|
||||
"react-dom": "16.4.2",
|
||||
"react-native": "git+https://github.com/status-im/react-native-desktop.git#v0.57.8_8",
|
||||
"react-native": "git+https://github.com/status-im/react-native-desktop.git#v0.57.8_10",
|
||||
"react-native-background-timer": "2.0.0",
|
||||
"react-native-camera": "0.10.0",
|
||||
"react-native-config": "git+https://github.com/status-im/react-native-config.git#v0.11.2-status",
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -55,8 +55,9 @@
|
|||
:number-of-lines 1
|
||||
:style (styles/chat-name current?)}
|
||||
name]]
|
||||
(let [uri (contenthash/url (:content last-message))]
|
||||
(if (and uri (= constants/content-type-sticker (:content-type last-message)))
|
||||
(let [is-sticker? (= constants/content-type-sticker (:content-type last-message))
|
||||
uri (if is-sticker? (contenthash/url (get-in last-message [:content :hash])) nil)]
|
||||
(if uri
|
||||
[react/image {:style {:margin 2 :width 30 :height 30}
|
||||
:source {:uri uri}}]
|
||||
[react/text {:ellipsize-mode :tail
|
||||
|
|
Loading…
Reference in New Issue