[#11651] No spinner when pressing "Fetch more messages" in public chat + white toggles in Sync settings on Android
Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
parent
ff961bbfe8
commit
6469ff912a
|
@ -59,10 +59,10 @@
|
|||
(def activity-indicator-class (reagent/adapt-react-class (.-ActivityIndicator react-native)))
|
||||
|
||||
(defn activity-indicator [props]
|
||||
[activity-indicator-class props])
|
||||
[activity-indicator-class (update props :color #(or % colors/gray))])
|
||||
|
||||
(defn small-loading-indicator [color]
|
||||
[activity-indicator {:color (if color color :colors/gray)
|
||||
[activity-indicator {:color color
|
||||
:ios {:size :small}
|
||||
:android {:size :16}}])
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
[react/view styles/settings-item
|
||||
[react/view styles/settings-item-text-wrapper
|
||||
[react/i18n-text {:style styles/settings-item-text :key label-kw}]]
|
||||
[react/switch {:track-color #js {:true colors/blue :false nil}
|
||||
[react/switch {:track-color #js {:true colors/blue :false colors/gray-lighter}
|
||||
:value (boolean value)
|
||||
:on-value-change action-fn
|
||||
:disabled (not active?)}]])
|
||||
|
|
Loading…
Reference in New Issue