Change order of bottom tabs and select wallet-stack as default tab (#21240)
* Changed order of bottom tabs * Changed default bottom to wallet-stack
This commit is contained in:
parent
9135e915ab
commit
00f1463e94
|
@ -70,10 +70,10 @@
|
||||||
(when pass-through?
|
(when pass-through?
|
||||||
[reanimated/blur-view (blur-overlay-params bottom-tabs-blur-overlay-style)])
|
[reanimated/blur-view (blur-overlay-params bottom-tabs-blur-overlay-style)])
|
||||||
[rn/view {:style (style/bottom-tabs)}
|
[rn/view {:style (style/bottom-tabs)}
|
||||||
[gesture/gesture-detector {:gesture communities-double-tab-gesture}
|
[bottom-tab :i/wallet :wallet-stack shared-values notifications-data]
|
||||||
[bottom-tab :i/communities :communities-stack shared-values notifications-data]]
|
|
||||||
[gesture/gesture-detector {:gesture messages-double-tap-gesture}
|
[gesture/gesture-detector {:gesture messages-double-tap-gesture}
|
||||||
[bottom-tab :i/messages :chats-stack shared-values notifications-data]]
|
[bottom-tab :i/messages :chats-stack shared-values notifications-data]]
|
||||||
[bottom-tab :i/wallet :wallet-stack shared-values notifications-data]
|
[gesture/gesture-detector {:gesture communities-double-tab-gesture}
|
||||||
|
[bottom-tab :i/communities :communities-stack shared-values notifications-data]]
|
||||||
(when config/show-not-implemented-features?
|
(when config/show-not-implemented-features?
|
||||||
[bottom-tab :i/browser :browser-stack shared-values notifications-data])]]]))
|
[bottom-tab :i/browser :browser-stack shared-values notifications-data])]]]))
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
(def ^:const switcher-card-size 160)
|
(def ^:const switcher-card-size 160)
|
||||||
(def ^:const floating-shell-button-height 44)
|
(def ^:const floating-shell-button-height 44)
|
||||||
|
|
||||||
(def ^:const default-selected-stack :communities-stack)
|
(def ^:const default-selected-stack :wallet-stack)
|
||||||
|
|
||||||
;; Bottom tabs
|
;; Bottom tabs
|
||||||
(def ^:const bottom-tabs-container-height-android 57)
|
(def ^:const bottom-tabs-container-height-android 57)
|
||||||
|
|
Loading…
Reference in New Issue