Skip to content

Commit

Permalink
enabling onPressActionButton only if Verifier is enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Caroline Lucas Calheirani <[email protected]>
  • Loading branch information
CarolineLCa committed Nov 17, 2023
1 parent a10963d commit 7766f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/legacy/core/App/screens/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ const Chat: React.FC<ChatProps> = ({ route }) => {
_id: Role.me,
}}
renderActions={(props) => renderActions(props, theme, actions)}
onPressActionButton={() => setShowActionSlider(true)}
onPressActionButton={actions ? () => setShowActionSlider(true) : undefined}
/>
{showActionSlider && <ActionSlider onDismiss={onDismiss} actions={actions} />}
</SafeAreaView>
Expand Down

0 comments on commit 7766f35

Please sign in to comment.