mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +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)
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5b50af9a6a0b85eff9a5b0806d431b76bf6ff9def2d20ac32e63af1265f87bf6
|
||||
size 234892
|
||||
oid sha256:282243f297e0c64292faa2b4295b1152881a290bbad790f42966647f999d9b3e
|
||||
size 242145
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2f3f599dbbdaf73b51276cd5409fbb56c952f6627820d1324ce61cbeefb8b51a
|
||||
size 144539
|
||||
oid sha256:4e152394328a312a27e6f60426b4e977855f2c8569b6a861163231fad5845c72
|
||||
size 150627
|
||||
|
||||
Reference in New Issue
Block a user