Skip to content

Commit

Permalink
fix: isWidthWithinBounds change
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikDanielewicz committed Oct 24, 2023
1 parent 5327f55 commit 395c740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/renderers/GestureHandler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const GestureHandler = ({

const initialNotificationWidth = state?.notificationWidth || Constants.maxNotificationWidth

const isWidthWithinBounds = initialNotificationWidth <= width
const isWidthWithinBounds = initialNotificationWidth <= fullWidth

const notificationWidth = isWidthWithinBounds ? initialNotificationWidth : fullWidth

Expand Down

0 comments on commit 395c740

Please sign in to comment.