mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
marking an entry as read/unread now requires to swipe to the left since swiping to the right now opens the mobile menu
This commit is contained in:
@@ -21,7 +21,7 @@ interface FeedEntryProps {
|
||||
onHeaderClick: (e: React.MouseEvent) => void
|
||||
onHeaderRightClick: (e: React.MouseEvent) => void
|
||||
onBodyClick: (e: React.MouseEvent) => void
|
||||
onSwipedRight: () => void
|
||||
onSwipedLeft: () => void
|
||||
}
|
||||
|
||||
const useStyles = tss
|
||||
@@ -111,7 +111,7 @@ export function FeedEntry(props: FeedEntryProps) {
|
||||
})
|
||||
|
||||
const swipeHandlers = useSwipeable({
|
||||
onSwipedRight: props.onSwipedRight,
|
||||
onSwipedLeft: props.onSwipedLeft,
|
||||
})
|
||||
|
||||
let paddingX: MantineSpacing = "xs"
|
||||
|
||||
Reference in New Issue
Block a user