mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user