diff options
author | Marco Buono <thecoreh@gmail.com> | 2024-09-05 12:14:04 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 10:14:04 -0500 |
commit | 6d8ed5c3c8d0d5176532d3fbc06f0b0257c6e743 (patch) | |
tree | 646d00e1ad6f2a42202556bd04518327ce13da9f /src | |
parent | 4e6b6740f7365553121eae42b347cfb557a6d5d5 (diff) | |
download | voidsky-6d8ed5c3c8d0d5176532d3fbc06f0b0257c6e743.tar.zst |
Add quick access to quote action on long press (#5123)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/util/post-ctrls/RepostButton.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/view/com/util/post-ctrls/RepostButton.tsx b/src/view/com/util/post-ctrls/RepostButton.tsx index d924adbe4..8c4928dfc 100644 --- a/src/view/com/util/post-ctrls/RepostButton.tsx +++ b/src/view/com/util/post-ctrls/RepostButton.tsx @@ -53,6 +53,9 @@ let RepostButton = ({ onPress={() => { requireAuth(() => dialogControl.open()) }} + onLongPress={() => { + requireAuth(() => onQuote()) + }} style={[ a.flex_row, a.align_center, |