Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
removed iOS padding exception
Browse files Browse the repository at this point in the history
  • Loading branch information
norbertschuler committed Dec 11, 2021
1 parent b892fc9 commit 0c43a99
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
8 changes: 2 additions & 6 deletions app/components/Competition/screens/CompetitionList.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,8 @@ class Competiton extends React.Component {
showSearch
navigation={this.props.navigation}
/>
<Animated.View
style={{
marginTop: Platform.OS === 'ios' ? (height < 737 ? 56 : 26) : 56
}}
/>
{/*
<Animated.View style={{ marginTop: 56 }} />
{/*
<TabView
useNativeDriver
navigationState={this.state}
Expand Down
2 changes: 1 addition & 1 deletion app/components/GiftTrees/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class GiftTrees extends Component {
title={i18n.t('label.gift_trees')}
navigation={this.props.navigation}
/>
<View style={{ marginTop: Platform.OS === 'ios' ? height < 737 ? 56 : 26 : 56 }} />
<View style={{ marginTop: 56 }} />
<GiftTabView openProjects={this.openProjects} {...this.props} />
</SafeAreaView>
</>
Expand Down
5 changes: 1 addition & 4 deletions app/components/SelectPlantProject/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,7 @@ class SelectPlantTabView extends PureComponent {
scrollY={this.state.scrollY}
navigation={this.props.navigation}
/>
<Animated.View
style={{ marginTop: Platform.OS === 'ios' ? height < 737 ? 56 : 26 : 56 }}
/>

<Animated.View style={{ marginTop: 56 }} />
<TabView
useNativeDriver
navigationState={this.state}
Expand Down

0 comments on commit 0c43a99

Please sign in to comment.