Mindinventory/react-native-bus-seat-layout

Getting duplicate seat in the last row

shashwataggarwal opened this issue · 0 comments

I am getting a duplicate seat in the last row. For eg:

 <SeatsLayout
        row={3}
        numberTextStyle={{ fontSize: 12 }}
        getBookedSeats={(seats) => {
          console.log("getBookedSeats :: ", seats);
        }}
      />

Gives the following image. There should be either 9 seats or the middle seat should not be there. There should be an option to allow for middle seat in the last row (but with the correct number).

image

@TusharSanchaniya-mi