Skip to content

Always use 0 section. Error when sections more than 1 #9

@ZhurbiloYaroslav

Description

@ZhurbiloYaroslav

Hello Dear Kiran!

Thanks for your awesome library!

I have found that you always use 0 section.
In my project there is 3 sections and was a bug.

I have found that in lines:
line: 442

  • was: let indexpath: IndexPath = IndexPath(row: row, section: 0)
  • now: let indexpath: IndexPath = IndexPath(row: row, section: indexPath.section)

and
line 454:

  • was: let indexpath: IndexPath = IndexPath(row: updateStateOfRow, section: 0)
  • now: let indexpath: IndexPath = IndexPath(row: updateStateOfRow, section: indexPath.section)

Would you be so kind and fix this bug

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions