Skip to content

Commit

Permalink
Fix tests. Cannot figure out why the screenshots changed; the sublabe…
Browse files Browse the repository at this point in the history
…l frames are the same size in the tests and in simulator.
  • Loading branch information
yuki-stripe committed Jan 30, 2025
1 parent f93260e commit 61c159d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ class RowButton: UIView {
if isFlatWithCheckmarkStyle, let rightAccessoryView, !rightAccessoryView.isHidden {
// In flat_with_checkmark, we need additional vertical space around the View More / Change accessory view.
if sublabel.isHidden {
labelsStackView.setCustomSpacing(8, after: sublabel)
} else {
labelsStackView.setCustomSpacing(8, after: label)
} else {
labelsStackView.setCustomSpacing(8, after: sublabel)
}
imageViewConstraints.append(imageView.centerYAnchor.constraint(equalTo: label.centerYAnchor))
} else {
Expand Down
Binary file modified ...hodsViewSnapshotTests/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ...thodsViewSnapshotTests/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 61c159d

Please sign in to comment.