Skip to content

Commit

Permalink
refactor: removed old settings button
Browse files Browse the repository at this point in the history
  • Loading branch information
Vali-98 committed Oct 24, 2024
1 parent 57a13b6 commit a739d84
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions app/components/ChatMenu/ChatMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,18 +90,6 @@ const ChatMenu = () => {

const gesture = Gesture.Exclusive(swipeDrawer, swipeChats)

const headerViewRightSettings = (
<Animated.View collapsable={false} entering={ZoomIn}>
<TouchableOpacity
style={styles.headerButtonRight}
onPress={() => {
router.push('/AppSettingsMenu')
}}>
<FontAwesome name="cog" size={28} color={Style.getColor('primary-text1')} />
</TouchableOpacity>
</Animated.View>
)

const headerViewRight = (
<View style={styles.headerButtonContainer}>
<TouchableOpacity
Expand Down Expand Up @@ -156,7 +144,6 @@ const ChatMenu = () => {
headerLeft: () => headerViewLeft,

headerRight: () => {
if (showDrawer) return headerViewRightSettings
if (chat) return headerViewRight
},
}}
Expand Down

0 comments on commit a739d84

Please sign in to comment.