QuantumBadger / RedReader

An unofficial open source Android app for Reddit.
GNU General Public License v3.0
2.01k stars 482 forks source link

Long pressing to bring up the context menu on items in the new drid layout has no vibration feedback #1220

Closed nascentt closed 2 months ago

nascentt commented 2 months ago

Long pressing to bring up the context menu on items in the new grid layout has no vibration feedback

QuantumBadger commented 2 months ago

Thanks for the report. It seems with Compose we have to manually call haptic.performHapticFeedback(HapticFeedbackType.LongPress) in every long click handler...

QuantumBadger commented 2 months ago

I ended up adding a combinedClickableWithHaptics extension function to do this automatically.

nascentt commented 2 months ago

Seems good on v357