fix wrong community logo position when scrolling down the channel list (#20408)
This commit is contained in:
parent
60e1783b36
commit
256c9f7b10
|
@ -25,12 +25,12 @@
|
||||||
:blur :grey})
|
:blur :grey})
|
||||||
|
|
||||||
(defn- page-nav-base
|
(defn- page-nav-base
|
||||||
[{:keys [margin-top background on-press accessibility-label icon-name behind-overlay?]
|
[{:keys [margin-top background on-press accessibility-label icon-name behind-overlay? align-center?]
|
||||||
:or {background :white}}
|
:or {background :white}}
|
||||||
& children]
|
& children]
|
||||||
(into [rn/view {:style (style/container margin-top)}
|
(into [rn/view {:style (style/container margin-top)}
|
||||||
(when icon-name
|
(when icon-name
|
||||||
[rn/view {:style style/icon-container}
|
[rn/view (when align-center? {:style style/icon-container})
|
||||||
[button/button
|
[button/button
|
||||||
{:type (button-type background)
|
{:type (button-type background)
|
||||||
:icon-only? true
|
:icon-only? true
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
:on-press on-press
|
:on-press on-press
|
||||||
:accessibility-label accessibility-label
|
:accessibility-label accessibility-label
|
||||||
:networks networks
|
:networks networks
|
||||||
|
:align-center? true
|
||||||
:networks-on-press #(rf/dispatch [:show-bottom-sheet {:content network-filter/view}])
|
:networks-on-press #(rf/dispatch [:show-bottom-sheet {:content network-filter/view}])
|
||||||
:right-side [(when (and (ff/enabled? ::ff/wallet.wallet-connect)
|
:right-side [(when (and (ff/enabled? ::ff/wallet.wallet-connect)
|
||||||
(not watch-only?))
|
(not watch-only?))
|
||||||
|
|
Loading…
Reference in New Issue