Skip to content

Commit

Permalink
mobile: NavBar: remove unused plus icon
Browse files Browse the repository at this point in the history
Part of #203
  • Loading branch information
ericswpark committed Apr 20, 2024
1 parent de525a4 commit 81af5b4
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions mobile/navigation/NavBar/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ import { Discover } from "../../Screens/Discover";

const BottomBar = createBottomTabNavigator();

function TrackScreen() {
return null;
}

function NavBar() {
const [isTrackModalVisible, setIsTrackModalVisible] = useState(false);
const toggleTrackModal = () => {
Expand Down Expand Up @@ -64,19 +60,6 @@ function NavBar() {
),
}}
/>
<BottomBar.Screen
name="+"
component={TrackScreen}
listeners={() => ({
tabPress: (e) => {
e.preventDefault();
toggleTrackModal();
},
})}
options={{
tabBarIcon: () => <PlusIcon />,
}}
/>
<BottomBar.Screen
name="social"
component={Community}
Expand Down

0 comments on commit 81af5b4

Please sign in to comment.