Skip to content

Commit

Permalink
fix: missing header in native platforms.
Browse files Browse the repository at this point in the history
Signed-off-by: Krishna Gupta <[email protected]>
  • Loading branch information
Krishna2323 committed May 11, 2024
1 parent 8e5460f commit e33fc84
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/components/DecisionModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@ function DecisionModal({title, prompt = '', firstOptionText, secondOptionText, o
>
<View style={[styles.m5]}>
<View>
<Header
title={title}
containerStyles={[styles.alignItemsCenter, styles.mb4]}
/>
<View style={[styles.flexRow, styles.mb4]}>
<Header
title={title}
containerStyles={[styles.alignItemsCenter]}
/>
</View>
<Text>{prompt}</Text>
</View>
{firstOptionText && (
Expand Down

0 comments on commit e33fc84

Please sign in to comment.