Skip to content

Commit

Permalink
Fix: iOS App on Mac can move TableViewCell by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mlch911 committed Sep 14, 2024
1 parent bbfea38 commit b779e92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/RxDataSources/TableViewSectionedDataSource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ open class TableViewSectionedDataSource<Section: SectionModelType>
configureCell: @escaping ConfigureCell,
titleForHeaderInSection: @escaping TitleForHeaderInSection = { _, _ in nil },
titleForFooterInSection: @escaping TitleForFooterInSection = { _, _ in nil },
canEditRowAtIndexPath: @escaping CanEditRowAtIndexPath = { _, _ in true },
canMoveRowAtIndexPath: @escaping CanMoveRowAtIndexPath = { _, _ in true },
canEditRowAtIndexPath: @escaping CanEditRowAtIndexPath = { _, _ in false },
canMoveRowAtIndexPath: @escaping CanMoveRowAtIndexPath = { _, _ in false },
sectionIndexTitles: @escaping SectionIndexTitles = { _ in nil },
sectionForSectionIndexTitle: @escaping SectionForSectionIndexTitle = { _, _, index in index }
) {
Expand Down

0 comments on commit b779e92

Please sign in to comment.