Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
enell committed Mar 23, 2023
1 parent 3abcb5a commit 6244129
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ios/PaddedLabel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -283,14 +283,14 @@ class PaddedLabel: UILabel, SelectionsListener, ConstraintCellProtocol {
}
}
}

func setImageLabel(_ col: DataColumn, cell: DataCell) {
if(setLabelFromStyle(style: "imageLabel", col: col, cell: cell)) {
return;
if setLabelFromStyle(style: "imageLabel", col: col, cell: cell) {
return
}
let _ = setLabelFromStyle(style: "imageUrl", col: col, cell: cell)
_ = setLabelFromStyle(style: "imageUrl", col: col, cell: cell)
}

func setLabelFromStyle(style: String, col: DataColumn, cell: DataCell) -> Bool {
if let imageIndex = col.stylingInfo?.firstIndex(of: style) {
if let text = cell.qAttrExps?.qValues?[imageIndex].qText {
Expand Down

0 comments on commit 6244129

Please sign in to comment.