Mark account list rows as buttons

This commit is contained in:
Jed Fox 2022-11-06 20:10:10 -05:00
parent 547129ec95
commit 6c6508cdfb
No known key found for this signature in database
GPG Key ID: 0B61D18EA54B47E1
2 changed files with 4 additions and 0 deletions

View File

@ -125,6 +125,8 @@ extension AccountListTableViewCell {
badgeButton.setBadge(number: 0)
checkmarkImageView.isHidden = true
accessibilityTraits.insert(.button)
}
}

View File

@ -108,6 +108,8 @@ extension AddAccountTableViewCell {
separatorLine.bottomAnchor.constraint(equalTo: contentView.bottomAnchor),
separatorLine.heightAnchor.constraint(equalToConstant: UIView.separatorLineHeight(of: contentView)),
])
accessibilityTraits.insert(.button)
}
}