mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02:00
chore: Move translated info directly below translated text
This commit is contained in:
parent
f530d109d3
commit
6329f10046
@ -431,6 +431,10 @@ extension StatusView.Style {
|
||||
statusView.contentContainer.addArrangedSubview(statusView.contentMetaText.textView)
|
||||
statusView.containerStackView.setCustomSpacing(16, after: statusView.contentMetaText.textView)
|
||||
|
||||
// translated info
|
||||
statusView.containerStackView.addArrangedSubview(statusView.isTranslatingLoadingView)
|
||||
statusView.containerStackView.addArrangedSubview(statusView.translatedInfoView)
|
||||
|
||||
statusView.spoilerOverlayView.translatesAutoresizingMaskIntoConstraints = false
|
||||
statusView.containerStackView.addSubview(statusView.spoilerOverlayView)
|
||||
statusView.contentContainer.pinTo(to: statusView.spoilerOverlayView)
|
||||
@ -470,10 +474,6 @@ extension StatusView.Style {
|
||||
statusView.pollCountdownLabel.setContentHuggingPriority(.defaultLow, for: .horizontal)
|
||||
statusView.pollVoteButton.setContentHuggingPriority(.defaultHigh + 3, for: .horizontal)
|
||||
|
||||
// translated info
|
||||
statusView.containerStackView.addArrangedSubview(statusView.isTranslatingLoadingView)
|
||||
statusView.containerStackView.addArrangedSubview(statusView.translatedInfoView)
|
||||
|
||||
// action toolbar
|
||||
statusView.actionToolbarAdaptiveMarginContainerView.contentView = statusView.actionToolbarContainer
|
||||
statusView.actionToolbarAdaptiveMarginContainerView.margin = StatusView.containerLayoutMargin
|
||||
|
Loading…
x
Reference in New Issue
Block a user