ConfettiSwiftUI
ConfettiSwiftUI copied to clipboard
Fix failed to build for watchOS. Add haptics for watchOS
added haptics to watchOS
Description
Currently it seems while building for watchOS; the platform check to apply haptics has not included the watchOS handling. Hence I have added the haptics for watch and also fixed the handling for UIImpactFeedbackGenerator to be excluded when build for watchOS
The haptics type for the watchOS used is click as it ain't too heavy while the animation occurs. But I think this can be changed as per preference.