about summary refs log tree commit diff
path: root/src/view/shell/bottom-bar
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-08-29 18:57:36 +0100
committerGitHub <noreply@github.com>2024-08-29 18:57:36 +0100
commitfaf66f3178fbddcfaab9c851b9315f20cd285c38 (patch)
treef0072c6359184760c232ab7d7371724a0c66f6b1 /src/view/shell/bottom-bar
parent69053b1b0add68cc04ce7bc336ed65b2514e207b (diff)
downloadvoidsky-faf66f3178fbddcfaab9c851b9315f20cd285c38.tar.zst
Remove new_user_guided_tour and tour code (#5023)
Diffstat (limited to 'src/view/shell/bottom-bar')
-rw-r--r--src/view/shell/bottom-bar/BottomBar.tsx25
-rw-r--r--src/view/shell/bottom-bar/BottomBarWeb.tsx11
2 files changed, 15 insertions, 21 deletions
diff --git a/src/view/shell/bottom-bar/BottomBar.tsx b/src/view/shell/bottom-bar/BottomBar.tsx
index 80886b320..b5ad92b4c 100644
--- a/src/view/shell/bottom-bar/BottomBar.tsx
+++ b/src/view/shell/bottom-bar/BottomBar.tsx
@@ -45,7 +45,6 @@ import {
   Message_Stroke2_Corner0_Rounded as Message,
   Message_Stroke2_Corner0_Rounded_Filled as MessageFilled,
 } from '#/components/icons/Message'
-import {HomeTourExploreWrapper} from '#/tours/HomeTour'
 import {styles} from './BottomBarStyles'
 
 type TabOptions =
@@ -163,19 +162,17 @@ export function BottomBar({navigation}: BottomTabBarProps) {
             <Btn
               testID="bottomBarSearchBtn"
               icon={
-                <HomeTourExploreWrapper>
-                  {isAtSearch ? (
-                    <MagnifyingGlassFilled
-                      width={iconWidth + 2}
-                      style={[styles.ctrlIcon, pal.text, styles.searchIcon]}
-                    />
-                  ) : (
-                    <MagnifyingGlass
-                      width={iconWidth + 2}
-                      style={[styles.ctrlIcon, pal.text, styles.searchIcon]}
-                    />
-                  )}
-                </HomeTourExploreWrapper>
+                isAtSearch ? (
+                  <MagnifyingGlassFilled
+                    width={iconWidth + 2}
+                    style={[styles.ctrlIcon, pal.text, styles.searchIcon]}
+                  />
+                ) : (
+                  <MagnifyingGlass
+                    width={iconWidth + 2}
+                    style={[styles.ctrlIcon, pal.text, styles.searchIcon]}
+                  />
+                )
               }
               onPress={onPressSearch}
               accessibilityRole="search"
diff --git a/src/view/shell/bottom-bar/BottomBarWeb.tsx b/src/view/shell/bottom-bar/BottomBarWeb.tsx
index c89d2a63c..21c253ee0 100644
--- a/src/view/shell/bottom-bar/BottomBarWeb.tsx
+++ b/src/view/shell/bottom-bar/BottomBarWeb.tsx
@@ -41,7 +41,6 @@ import {
   UserCircle_Filled_Corner0_Rounded as UserCircleFilled,
   UserCircle_Stroke2_Corner0_Rounded as UserCircle,
 } from '#/components/icons/UserCircle'
-import {HomeTourExploreWrapper} from '#/tours/HomeTour'
 import {styles} from './BottomBarStyles'
 
 export function BottomBarWeb() {
@@ -95,12 +94,10 @@ export function BottomBarWeb() {
             {({isActive}) => {
               const Icon = isActive ? MagnifyingGlassFilled : MagnifyingGlass
               return (
-                <HomeTourExploreWrapper>
-                  <Icon
-                    width={iconWidth + 2}
-                    style={[styles.ctrlIcon, pal.text, styles.searchIcon]}
-                  />
-                </HomeTourExploreWrapper>
+                <Icon
+                  width={iconWidth + 2}
+                  style={[styles.ctrlIcon, pal.text, styles.searchIcon]}
+                />
               )
             }}
           </NavItem>