mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02:00
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 {
|
switch result {
|
||||||
case .failure:
|
case .failure:
|
||||||
break
|
break
|
||||||
case .success(let response)
|
case .success:
|
||||||
statusItemAttribute.isImageLoaded.value = true
|
statusItemAttribute.isImageLoaded.value = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -253,6 +253,7 @@ extension StatusView {
|
|||||||
// header container: [icon | info]
|
// header container: [icon | info]
|
||||||
let headerContainerStackView = UIStackView()
|
let headerContainerStackView = UIStackView()
|
||||||
headerContainerStackView.axis = .horizontal
|
headerContainerStackView.axis = .horizontal
|
||||||
|
headerContainerStackView.spacing = 4
|
||||||
headerContainerStackView.addArrangedSubview(headerIconLabel)
|
headerContainerStackView.addArrangedSubview(headerIconLabel)
|
||||||
headerContainerStackView.addArrangedSubview(headerInfoLabel)
|
headerContainerStackView.addArrangedSubview(headerInfoLabel)
|
||||||
headerIconLabel.setContentHuggingPriority(.defaultHigh, for: .horizontal)
|
headerIconLabel.setContentHuggingPriority(.defaultHigh, for: .horizontal)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user