Skip to content

Commit

Permalink
Run swiftformat
Browse files Browse the repository at this point in the history
  • Loading branch information
L-Trujillo26 authored and github-actions[bot] committed Nov 29, 2024
1 parent 61a3efd commit 52c4b02
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ private extension ListFragmentView {

func fillListWithInformativeItems(_ items: [InformativeItem]) {
for (index, item) in items.enumerated() {
let rowView = InformativeRow(item: item)
let isLastItem = index == items.count - 1
addRow(rowView, withSeparator: !isLastItem)
}
let rowView = InformativeRow(item: item)
let isLastItem = index == items.count - 1
addRow(rowView, withSeparator: !isLastItem)
}
}

func fillListWithActionItems(_ items: [ActionListItem]) {
Expand Down Expand Up @@ -129,9 +129,9 @@ private extension ListFragmentView {

self.stackView.addArrangedSubview(stackView)
}


// MARK: User Interaction

@objc private func didTouchItem(_ sender: UILongPressGestureRecognizer) {
guard let touchable = sender.view as? Touchable else { return }

Expand Down Expand Up @@ -201,6 +201,7 @@ extension ListFragmentView: UIGestureRecognizerDelegate {
}

// MARK: Utilities

private extension ListFragmentView {
func addRow(_ row: UIView, withSeparator: Bool = false) {
stackView.addArrangedSubview(row)
Expand Down

0 comments on commit 52c4b02

Please sign in to comment.