this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Move iOS check outside

+4 -3
+4 -3
src/components/status.jsx
··· 81 81 direct: 'Private mention', 82 82 }; 83 83 84 + const isIOS = 85 + window.ontouchstart !== undefined && 86 + /iPad|iPhone|iPod/.test(navigator.userAgent); 87 + 84 88 function Status({ 85 89 statusID, 86 90 status, ··· 809 813 810 814 const showContextMenu = !isSizeLarge && !previewMode && !_deleted && !quoted; 811 815 812 - const isIOS = 813 - window.ontouchstart !== undefined && 814 - /iPad|iPhone|iPod/.test(navigator.userAgent); 815 816 // Only iOS/iPadOS browsers don't support contextmenu 816 817 // Some comments report iPadOS might support contextmenu if a mouse is connected 817 818 const bindLongPressContext = useLongPress(