Skip to content

Conversation

@JunkFood02
Copy link

@JunkFood02 JunkFood02 commented Oct 2, 2024

Fix #32

Context: The offsets from swipings are absolute, so the placement of icons should be as well

@abdullahalhakimi
Copy link

great this commit solved the issue i had

@JunkFood02
Copy link
Author

ping @saket for reviewing 🤞

jocmp added a commit to jocmp/capyreader that referenced this pull request Oct 20, 2024
jocmp added a commit to jocmp/capyreader that referenced this pull request Oct 20, 2024
* Use 3rd-party swipe library

* Fix RTL with open PR

- saket/swipe#33
@Lukaszz112
Copy link

@saket bump, can u merge it?

Copy link
Owner

@saket saket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, and apologies for not reviewing this earlier!

}
.background(color = backgroundColor),
horizontalArrangement = if (action.isOnRightSide) Arrangement.Start else Arrangement.End,
horizontalArrangement = if (action.isOnRightSide) Arrangement.Absolute.Left else Arrangement.Absolute.Right,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if I did this correctly. Please take another look!

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep this looks good, thank you!

@JunkFood02 JunkFood02 requested a review from saket November 23, 2024 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue with LayoutDirection.

4 participants