Skip to content

Commit

Permalink
Merge pull request #79 from heoblitz/remove_unnecessary_conditional
Browse files Browse the repository at this point in the history
Remove unnecessary conditional statement
  • Loading branch information
ekazaev authored Oct 22, 2024
2 parents ed01d4c + 313d175 commit 019d341
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ChatLayout/Classes/Core/Model/SectionModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,6 @@ struct SectionModel<Layout: ChatLayoutRepresentation> {
}

mutating func set(footer: ItemModel?) {
guard let _ = self.footer, let _ = footer else {
self.footer = footer
return
}
self.footer = footer
}

Expand Down

0 comments on commit 019d341

Please sign in to comment.