Skip to content

Commit

Permalink
remove footer from calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyur-softyoi committed Feb 28, 2022
1 parent 22f6c9e commit 718e9fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/calendar-list/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ class CalendarList extends Component {
keyExtractor={this.props.keyExtractor}
onEndReachedThreshold={this.props.onEndReachedThreshold}
onEndReached={this.props.onEndReached}
ListFooterComponent={this.renderFooter()}
// ListFooterComponent={this.renderFooter()}
/>
{this.renderStaticHeader()}
</View>
Expand Down
2 changes: 1 addition & 1 deletion src/calendar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ class Calendar extends Component {
const currentMonth = new Date().getMonth();
// if (calMonth === disMonth || calMonth === disMonth + 1) {
if (this.renderMonthIndex(calMonth, disMonth, endDate) >= 0 &&
(this.renderMonthIndex(calMonth, disMonth, endDate) !== currentMonth)) {
(this.renderMonthIndex(calMonth, disMonth, endDate) !== -1)) {
return (
<TouchableOpacity
onPress={onExtended}
Expand Down

0 comments on commit 718e9fa

Please sign in to comment.