parent
6a1fdc5b08
commit
6037fe80c4
|
@ -77,7 +77,7 @@
|
|||
:background-color button-color}
|
||||
style)}
|
||||
(when (#{:mention :search :search-with-label :scroll-to-bottom} type)
|
||||
[icon-view type])
|
||||
[icon-view type theme])
|
||||
(when (#{:jump-to :mention :notification-down :notification-up :search-with-label} type)
|
||||
[text/text
|
||||
{:weight :medium
|
||||
|
|
|
@ -29,7 +29,8 @@
|
|||
:resize-mode :cover}]))
|
||||
|
||||
(defn- content
|
||||
[{:keys [title body]} theme]
|
||||
[{:keys [title body]}]
|
||||
(let [theme (quo.theme/use-theme)]
|
||||
[rn/view {:style style/content-container}
|
||||
[text/text
|
||||
{:accessibility-label :title
|
||||
|
@ -44,7 +45,7 @@
|
|||
:weight :medium
|
||||
:number-of-lines 1
|
||||
:style (style/body theme)}
|
||||
body]])
|
||||
body]]))
|
||||
|
||||
(defn- clear-button
|
||||
[{:keys [on-press]}]
|
||||
|
|
|
@ -57,9 +57,9 @@
|
|||
[rn/view {:style (style/author color)}]]])])
|
||||
|
||||
(defn- f-animated-skeleton-view
|
||||
[{:keys [style color skeleton-height animated? translate-x window-width theme] :as data}]
|
||||
(let [loading-color (colors/theme-colors colors/neutral-10 colors/neutral-60 theme)]
|
||||
|
||||
[{:keys [style color skeleton-height animated? translate-x window-width] :as data}]
|
||||
(let [theme (quo.theme/use-theme)
|
||||
loading-color (colors/theme-colors colors/neutral-10 colors/neutral-60 theme)]
|
||||
(rn/use-effect
|
||||
(fn []
|
||||
(when-not animated?
|
||||
|
|
|
@ -220,8 +220,9 @@
|
|||
[actions chat-id customization-color]]))
|
||||
|
||||
(defn footer-component
|
||||
[{:keys [chat distance-from-list-top theme customization-color]}]
|
||||
(let [{:keys [chat-id chat-name emoji chat-type
|
||||
[{:keys [chat distance-from-list-top customization-color]}]
|
||||
(let [theme (quo.theme/use-theme)
|
||||
{:keys [chat-id chat-name emoji chat-type
|
||||
group-chat color description
|
||||
last-message]} chat
|
||||
display-name (cond
|
||||
|
|
Loading…
Reference in New Issue