Skip to content

Commit

Permalink
AddContact: dont scroll header along with the content
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamkmr04 committed May 8, 2024
1 parent b6caff2 commit 0697b2d
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions views/Settings/AddContact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -450,27 +450,27 @@ export default class AddContact extends React.Component<
}}
behavior={Platform.OS === 'ios' ? 'padding' : undefined}
>
<Header
leftComponent="Back"
rightComponent={
<Row>
<StarButton
isFavourite={this.state.isFavourite}
onPress={this.toggleFavorite}
/>
<ScanBadge navigation={navigation} />
</Row>
}
containerStyle={{
borderBottomWidth: 0
}}
navigation={navigation}
/>
<ScrollView
contentContainerStyle={{
flexGrow: 1
}}
>
<Header
leftComponent="Back"
rightComponent={
<Row>
<StarButton
isFavourite={this.state.isFavourite}
onPress={this.toggleFavorite}
/>
<ScanBadge navigation={navigation} />
</Row>
}
containerStyle={{
borderBottomWidth: 0
}}
navigation={navigation}
/>
<View
style={{
justifyContent: 'center',
Expand Down

0 comments on commit 0697b2d

Please sign in to comment.