remove iOS 16 support (#3443)

* remove iOS 16 support

* remove iOS 16 support

* test updates

* added more delay

* revert

* adding waiting time on the CI
This commit is contained in:
Mauro
2024-10-24 17:21:28 +02:00
committed by GitHub
parent 926924912f
commit 7d373c07a3
51 changed files with 91 additions and 91 deletions
@@ -29,7 +29,7 @@ struct AppLockScreen: View {
pinInputField
.padding(.bottom, 16)
.offset(x: pinInputFieldOffset)
.onChange(of: context.viewState.numberOfPINAttempts) { newValue in
.onChange(of: context.viewState.numberOfPINAttempts) { _, newValue in
guard newValue > 0 else { return } // Reset without animation in Previews.
accessibilitySubtitleFocus = true
Task { await animatePINFailure() }
@@ -20,7 +20,7 @@ struct PINTextField: View {
.textFieldStyle(PINTextFieldStyle(pinCode: pinCode, isSecure: isSecure, maxLength: maxLength, size: size))
.keyboardType(.numberPad)
.accessibilityIdentifier(A11yIdentifiers.appLockSetupPINScreen.textField)
.onChange(of: pinCode) { newValue in
.onChange(of: pinCode) { _, newValue in
let sanitized = sanitize(newValue)
if sanitized != newValue {
MXLog.warning("PIN code input sanitized.")
@@ -29,7 +29,7 @@ struct AppLockSetupSettingsScreen: View {
Section {
ListRow(label: .plain(title: context.viewState.enableBiometricsTitle),
kind: .toggle($context.enableBiometrics))
.onChange(of: context.enableBiometrics) { _ in
.onChange(of: context.enableBiometrics) {
context.send(viewAction: .enableBiometricsChanged)
}
}