ConfettiSwiftUI icon indicating copy to clipboard operation
ConfettiSwiftUI copied to clipboard

Fix failed to build for watchOS. Add haptics for watchOS

Open zeyrie opened this issue 1 year ago • 0 comments

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.

CleanShot 2025-07-31 at 08 55 44@2x

Related Issue

65

zeyrie avatar Jul 31 '25 03:07 zeyrie