fix: add spacing between status header icon and text

This commit is contained in:
CMK 2021-06-17 14:03:30 +08:00
parent 7b52da8757
commit c7edf45164
2 changed files with 2 additions and 1 deletions

View File

@ -305,7 +305,7 @@ extension StatusSection {
switch result {
case .failure:
break
case .success(let response)
case .success:
statusItemAttribute.isImageLoaded.value = true
}
}

View File

@ -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)