File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Sources/OpenSwiftUI/View/Control/SensoryFeedback/UIKit Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -59,9 +59,9 @@ class UIKitSensoryFeedbackCache<V>: AnyUIKitSensoryFeedbackCache where V: View {
5959 } createIfNeeded: {
6060 UINotificationFeedbackGenerator ( )
6161 }
62- case . levelChange , . start , . stop :
63- nil
64- case . increase, . decrease, . selection:
62+ // SwiftUI implementation Bug: introduced since iOS 17 & iOS 26.2 is still not fixed
63+ // FB21332474
64+ case /* .increase, .decrease,*/ . selection:
6565 getGenerator ( type) {
6666 SelectionFeedbackImplementation (
6767 generator: $0
@@ -104,6 +104,7 @@ class UIKitSensoryFeedbackCache<V>: AnyUIKitSensoryFeedbackCache where V: View {
104104 case . soft: UIImpactFeedbackGenerator ( style: . soft)
105105 }
106106 }
107+ default : nil
107108 }
108109 }
109110
You can’t perform that action at this time.
0 commit comments