diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-10-28 22:03:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-28 20:03:08 +0000 |
commit | d050a78a2d4302d0c2c10ff01f98b575074b1be6 (patch) | |
tree | c8fb7156256da98b5576418a101ff26ce59167a1 /src/view/com/util/post-ctrls/RepostButton.tsx | |
parent | dcc5405e8a76037763950f2598721a30bb7934aa (diff) | |
download | voidsky-d050a78a2d4302d0c2c10ff01f98b575074b1be6.tar.zst |
Tweak haptics, add to post controls (#5977)
* change timing to 10ms, make ios only * add haptics to post controls * rm from like button
Diffstat (limited to 'src/view/com/util/post-ctrls/RepostButton.tsx')
-rw-r--r-- | src/view/com/util/post-ctrls/RepostButton.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/view/com/util/post-ctrls/RepostButton.tsx b/src/view/com/util/post-ctrls/RepostButton.tsx index 936746f51..28889429f 100644 --- a/src/view/com/util/post-ctrls/RepostButton.tsx +++ b/src/view/com/util/post-ctrls/RepostButton.tsx @@ -51,9 +51,11 @@ let RepostButton = ({ <Button testID="repostBtn" onPress={() => { + playHaptic('Light') requireAuth(() => dialogControl.open()) }} onLongPress={() => { + playHaptic('Heavy') requireAuth(() => onQuote()) }} style={[ |