Merge pull request #1296 from esteemapp/bugfix/point-bottom-bar

Fixed bottom button issue for point icon
This commit is contained in:
Feruz M 2019-11-16 09:16:54 +02:00 committed by GitHub
commit 719ae7f7f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 23 additions and 3 deletions

View File

@ -30,4 +30,7 @@ export default EStyleSheet.create({
marginBottom: 10,
fontFamily: '$primaryFont',
},
listContentContainer: {
paddingBottom: 60,
},
});

View File

@ -70,6 +70,7 @@ class LeaderboardView extends PureComponent {
ListEmptyComponent={<ListPlaceHolder />}
onRefresh={() => fetchLeaderBoard()}
renderItem={({ item, index }) => this._renderItem(item, index)}
contentContainerStyle={styles.listContentContainer}
/>
</View>
</Fragment>

View File

@ -18,4 +18,7 @@ export default EStyleSheet.create({
justifyContent: 'center',
flex: 1,
},
listContentContainer: {
paddingBottom: 60,
},
});

View File

@ -175,6 +175,7 @@ class NotificationView extends PureComponent {
onEndReached={() => getActivities(null, selectedFilter, true)}
ListFooterComponent={this._renderFooterLoading}
ListEmptyComponent={<ListPlaceHolder />}
contentContainerStyle={styles.listContentContainer}
refreshControl={
<RefreshControl
refreshing={isNotificationRefreshing}

View File

@ -119,8 +119,9 @@ export default EStyleSheet.create({
},
scrollContainer: {
flex: 1,
backgroundColor: '$primaryBackgroundColor',
marginBottom: 60,
},
scrollContentContainer: {
paddingBottom: 60,
},
popoverDetails: {
flexDirection: 'row',

View File

@ -101,6 +101,7 @@ class PointsView extends Component {
<ScrollView
style={styles.scrollContainer}
refreshControl={this.refreshControl({ isDarkTheme })}
contentContainerStyle={styles.scrollContentContainer}
>
<View style={styles.pointsWrapper}>
<Text onPress={this._showDropdown} style={styles.pointText}>

View File

@ -60,4 +60,7 @@ export default EStyleSheet.create({
paddingHorizontal: 16,
paddingVertical: 5,
},
scrollContentContainer: {
paddingBottom: 60,
},
});

View File

@ -197,7 +197,10 @@ class ProfileView extends PureComponent {
style={styles.commentsTabBar}
>
{comments && comments.length > 0 ? (
<ScrollView onScroll={this._handleOnScroll}>
<ScrollView
onScroll={this._handleOnScroll}
contentContainerStyle={styles.scrollContentContainer}
>
<Comments
isProfilePreview
comments={comments}

View File

@ -38,4 +38,7 @@ export default EStyleSheet.create({
scrollView: {
backgroundColor: '$primaryLightBackground',
},
scrollContentContainer: {
paddingBottom: 60,
},
});

View File

@ -73,6 +73,7 @@ class WalletView extends PureComponent {
colors={['#fff']}
/>
}
contentContainerStyle={styles.scrollContentContainer}
>
{!walletData ? (
<Fragment>