Skip to content

Commit

Permalink
adjust width and friction
Browse files Browse the repository at this point in the history
  • Loading branch information
olerichter00 committed Oct 22, 2024
1 parent 5b63a4c commit a1569e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/Components/Swipeable/Swipeable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Animated, {
useSharedValue,
} from "react-native-reanimated"

const FRICTION = 1.2
const FRICTION = 1
const SWIPE_TO_INTERACT_THRESHOLD = 80

export interface SwipeableProps {
Expand Down
2 changes: 1 addition & 1 deletion src/app/Components/Tasks/Task.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const Task: React.FC<TaskProps> = ({
Clear
</Text>
}
actionComponentWidth={80 * fontScale}
actionComponentWidth={70 * fontScale}
actionOnPress={handleClearTask}
actionOnSwipe={handleClearTask}
actionBackground="red100"
Expand Down

0 comments on commit a1569e5

Please sign in to comment.