mirror of
https://github.com/metabolist/metatext
synced 2025-01-18 21:09:49 +01:00
Fix image sizing
This commit is contained in:
parent
ab9cdc48ee
commit
f0a7f52550
@ -84,6 +84,8 @@ final class AccountFieldView: UIView {
|
||||
checkButton.tintColor = .systemGreen
|
||||
checkButton.isHidden = verifiedAt == nil
|
||||
checkButton.showsMenuAsPrimaryAction = true
|
||||
checkButton.setContentCompressionResistancePriority(.required, for: .horizontal)
|
||||
checkButton.setContentHuggingPriority(.required, for: .horizontal)
|
||||
|
||||
if let verifiedAt = verifiedAt {
|
||||
checkButton.menu = UIMenu(
|
||||
|
@ -48,5 +48,5 @@ extension PollOptionButton {
|
||||
}
|
||||
|
||||
private extension PollOptionButton {
|
||||
static let titleEdgeInsets = UIEdgeInsets(top: 0, left: .compactSpacing, bottom: 0, right: .compactSpacing)
|
||||
static let titleEdgeInsets = UIEdgeInsets(top: 0, left: .defaultSpacing, bottom: 0, right: .compactSpacing)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user