Fix CI failures: SwiftFormat indentation and stale text field snapshot

Reformat two files to satisfy SwiftFormat's indent rule on blank lines
introduced by the accessibility fixes in this branch, and re-record the
compoundTextFieldStyle preview snapshots to match the new resting-state
border rendering on raised text fields.
This commit is contained in:
Jürgen Wischer
2026-07-16 21:23:09 +02:00
committed by Mauro
parent 003c608cc5
commit 99ba9eb235
4 changed files with 6 additions and 6 deletions
@@ -44,7 +44,7 @@ struct PinnedItemsBannerView: View {
.accessibilityLabel(Text(state.displayedMessage))
.accessibilityValue(String(state.bannerIndicatorDescription.characters), isEnabled: state.count > 1)
}
private var viewAllButton: some View {
Button { onViewAllButtonTap() } label: {
Text(state.isLoading ? "" : L10n.screenRoomPinnedBannerViewAllButtonTitle)
@@ -37,7 +37,7 @@ struct PollOptionView: View {
CompoundIcon(asset: Asset.Images.pollWinner)
.foregroundColor(.compound.iconAccentTertiary)
.accessibilityLabel(L10n.a11yPollsWinningAnswer)
Text(L10n.commonPollVotesCount(pollOption.votes))
.font(.compound.bodySMSemibold)
.foregroundColor(.compound.textPrimary)