Skip to content

Commit 985302e

Browse files
committed
Fixed bug with action for wrapper.
1 parent e0ffcc8 commit 985302e

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

Sources/SPDiffable/Models/SPDiffableWrapperItem.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ open class SPDiffableWrapperItem: SPDiffableItem, SPDiffableItemActionable {
4040

4141
public init(identifier: String, model: Any, action: Action? = nil) {
4242
self.model = model
43+
self.action = action
4344
super.init(identifier: identifier)
4445
}
4546
}

0 commit comments

Comments
 (0)