mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +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:
@@ -180,18 +180,18 @@ struct ComposerToolbar: View {
|
||||
guard !composerFocused else { return }
|
||||
composerFocused = true
|
||||
}
|
||||
.onChange(of: context.composerFocused) { newValue in
|
||||
.onChange(of: context.composerFocused) { _, newValue in
|
||||
guard composerFocused != newValue else { return }
|
||||
|
||||
composerFocused = newValue
|
||||
}
|
||||
.onChange(of: composerFocused) { newValue in
|
||||
.onChange(of: composerFocused) { _, newValue in
|
||||
context.composerFocused = newValue
|
||||
}
|
||||
.onChange(of: context.plainComposerText) { _ in
|
||||
.onChange(of: context.plainComposerText) {
|
||||
context.send(viewAction: .plainComposerTextChanged)
|
||||
}
|
||||
.onChange(of: context.composerFormattingEnabled) { _ in
|
||||
.onChange(of: context.composerFormattingEnabled) {
|
||||
context.send(viewAction: .didToggleFormattingOptions)
|
||||
}
|
||||
.onAppear {
|
||||
|
||||
+2
-2
@@ -48,8 +48,8 @@ struct VoiceMessagePreviewComposer: View {
|
||||
showCursor: playerState.showProgressIndicator,
|
||||
onSeek: onSeek)
|
||||
}
|
||||
.onChange(of: isDragging) { isDragging in
|
||||
onScrubbing(isDragging)
|
||||
.onChange(of: isDragging) { _, newValue in
|
||||
onScrubbing(newValue)
|
||||
}
|
||||
.padding(.vertical, 4.0)
|
||||
.padding(.horizontal, 6.0)
|
||||
|
||||
@@ -32,8 +32,8 @@ struct SwipeRightAction<Label: View>: ViewModifier {
|
||||
.offset(x: xOffset, y: 0.0)
|
||||
.animation(.interactiveSpring().speed(0.5), value: xOffset)
|
||||
.timelineGesture(gesture)
|
||||
.onChange(of: dragGestureActive) { value in
|
||||
if value == true {
|
||||
.onChange(of: dragGestureActive) { _, newValue in
|
||||
if newValue == true {
|
||||
if shouldStartAction() {
|
||||
feedbackGenerator.prepare()
|
||||
canStartAction = true
|
||||
|
||||
Reference in New Issue
Block a user