Add remaining iOS 17 introspections. (#1806)

* Update compound.

* Update Ruby gems.

* Skip smudging in Fastlane.

* Link Git LFS for Xcode in setup-project.
This commit is contained in:
Doug
2023-09-29 17:29:27 +01:00
committed by GitHub
parent 6bc5a440b2
commit 56a9820ded
12 changed files with 69 additions and 43 deletions
@@ -48,7 +48,7 @@ struct Application: App {
openURL($0)
}
}
.introspect(.window, on: .iOS(.v16)) { window in
.introspect(.window, on: .iOS(.v16, .v17)) { window in
// Workaround for SwiftUI not consistently applying the tint colour to Alerts/Confirmation Dialogs.
window.tintColor = .compound.textActionPrimary
}
@@ -52,7 +52,7 @@ struct CreatePollScreen: View {
Text(L10n.screenCreatePollQuestionHint)
.compoundFormTextFieldPlaceholder()
}
.introspect(.textField, on: .iOS(.v16)) { textField in
.introspect(.textField, on: .iOS(.v16, .v17)) { textField in
textField.clearButtonMode = .whileEditing
}
.textFieldStyle(.compoundForm)
@@ -151,7 +151,7 @@ private struct CreatePollOptionView: View {
Text(placeholder)
.compoundFormTextFieldPlaceholder()
}
.introspect(.textField, on: .iOS(.v16)) { textField in
.introspect(.textField, on: .iOS(.v16, .v17)) { textField in
textField.clearButtonMode = .whileEditing
}
.textFieldStyle(.compoundForm)
@@ -36,7 +36,7 @@ struct TimelineView: View {
var body: some View {
ScrollViewReader { scrollView in
timelineScrollView
.introspect(.scrollView, on: .iOS(.v16)) { uiScrollView in
.introspect(.scrollView, on: .iOS(.v16, .v17)) { uiScrollView in
guard uiScrollView != scrollViewAdapter.scrollView else {
return
}