Add haptic feedback for profile avatar interactions
- Implemented haptic feedback on avatar collapse when reaching the notch. - Added haptic feedback for snap back action when the avatar returns from an expanded state. - Introduced state management for triggering haptic feedback to ensure it only occurs at appropriate times.
This commit is contained in:
@@ -69,7 +69,7 @@ fun Modifier.customBlur(blur: Float) = this.then(
|
||||
.createBlurEffect(
|
||||
blur,
|
||||
blur,
|
||||
Shader.TileMode.DECAL,
|
||||
Shader.TileMode.CLAMP,
|
||||
)
|
||||
.asComposeRenderEffect()
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user