Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
eonfluxor committed Mar 4, 2021
1 parent e1aab02 commit a078d33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/ASCollectionView/ASCollectionView+Modifiers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public extension ASCollectionView
func onDidDisplay(_ callback: ((UICollectionViewCell, IndexPath)->Void)?) -> Self
{
var this = self
this.onWillDisplay = callback
this.onDidDisplay = callback
return this
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/ASCollectionView/ASTableView+Modifiers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public extension ASTableView
func onDidDisplay(_ callback: ((UITableViewCell, IndexPath)->Void)?) -> Self
{
var this = self
this.onWillDisplay = callback
this.onDidDisplay = callback
return this
}

Expand Down

0 comments on commit a078d33

Please sign in to comment.