forked from zelo72/mastodon-ios
fix: add spacing between status header icon and text
This commit is contained in:
parent
7b52da8757
commit
c7edf45164
|
@ -305,7 +305,7 @@ extension StatusSection {
|
|||
switch result {
|
||||
case .failure:
|
||||
break
|
||||
case .success(let response)
|
||||
case .success:
|
||||
statusItemAttribute.isImageLoaded.value = true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -253,6 +253,7 @@ extension StatusView {
|
|||
// header container: [icon | info]
|
||||
let headerContainerStackView = UIStackView()
|
||||
headerContainerStackView.axis = .horizontal
|
||||
headerContainerStackView.spacing = 4
|
||||
headerContainerStackView.addArrangedSubview(headerIconLabel)
|
||||
headerContainerStackView.addArrangedSubview(headerInfoLabel)
|
||||
headerIconLabel.setContentHuggingPriority(.defaultHigh, for: .horizontal)
|
||||
|
|
Loading…
Reference in New Issue