From 00f1463e94e34c26fa5f698c04c66881f6d5139e Mon Sep 17 00:00:00 2001 From: Parvesh Monu Date: Tue, 10 Sep 2024 19:41:34 +0530 Subject: [PATCH] Change order of bottom tabs and select wallet-stack as default tab (#21240) * Changed order of bottom tabs * Changed default bottom to wallet-stack --- .../contexts/shell/jump_to/components/bottom_tabs/view.cljs | 6 +++--- src/status_im/contexts/shell/jump_to/constants.cljs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/status_im/contexts/shell/jump_to/components/bottom_tabs/view.cljs b/src/status_im/contexts/shell/jump_to/components/bottom_tabs/view.cljs index 4dcd250e2c..e218a43cb5 100644 --- a/src/status_im/contexts/shell/jump_to/components/bottom_tabs/view.cljs +++ b/src/status_im/contexts/shell/jump_to/components/bottom_tabs/view.cljs @@ -70,10 +70,10 @@ (when pass-through? [reanimated/blur-view (blur-overlay-params bottom-tabs-blur-overlay-style)]) [rn/view {:style (style/bottom-tabs)} - [gesture/gesture-detector {:gesture communities-double-tab-gesture} - [bottom-tab :i/communities :communities-stack shared-values notifications-data]] + [bottom-tab :i/wallet :wallet-stack shared-values notifications-data] [gesture/gesture-detector {:gesture messages-double-tap-gesture} [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? [bottom-tab :i/browser :browser-stack shared-values notifications-data])]]])) diff --git a/src/status_im/contexts/shell/jump_to/constants.cljs b/src/status_im/contexts/shell/jump_to/constants.cljs index acac57c2db..c6b3730d4e 100644 --- a/src/status_im/contexts/shell/jump_to/constants.cljs +++ b/src/status_im/contexts/shell/jump_to/constants.cljs @@ -4,7 +4,7 @@ (def ^:const switcher-card-size 160) (def ^:const floating-shell-button-height 44) -(def ^:const default-selected-stack :communities-stack) +(def ^:const default-selected-stack :wallet-stack) ;; Bottom tabs (def ^:const bottom-tabs-container-height-android 57)