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