mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user