File tree 4 files changed +4
-4
lines changed
example/react-native-calendar/components
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ export default class Calendar extends Component {
178
178
179
179
do {
180
180
const
181
- dayIndex = renderIndex - offset + 1 ,
181
+ dayIndex = renderIndex - offset ,
182
182
isoWeekday = ( renderIndex + weekStart ) % 7 ;
183
183
184
184
let
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ const TopBar = ({
89
89
style = { topBarStyles . centredContent }
90
90
onPress = { onTitlePress } >
91
91
{ customTitleView ||
92
- < View >
92
+ < View style = { { flexDirection : "row" , alignItems : "center" } } >
93
93
< Text style = { [ topBarStyles . title , customStyle . title ] } >
94
94
{ localizedMonth } { year }
95
95
</ Text >
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ export default class Calendar extends Component {
178
178
179
179
do {
180
180
const
181
- dayIndex = renderIndex - offset + 1 ,
181
+ dayIndex = renderIndex - offset ,
182
182
isoWeekday = ( renderIndex + weekStart ) % 7 ;
183
183
184
184
let
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ const TopBar = ({
89
89
style = { topBarStyles . centredContent }
90
90
onPress = { onTitlePress } >
91
91
{ customTitleView ||
92
- < View >
92
+ < View style = { { flexDirection : "row" , alignItems : "center" } } >
93
93
< Text style = { [ topBarStyles . title , customStyle . title ] } >
94
94
{ localizedMonth } { year }
95
95
</ Text >
You can’t perform that action at this time.
0 commit comments