Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor deprecated M1 SwipeToDismiss, use M3 SwipeToDismissBox #1537

Merged
merged 1 commit into from
Jun 1, 2024

Conversation

MV-GH
Copy link
Collaborator

@MV-GH MV-GH commented Jun 1, 2024

Use M3 replacement.

Whats strange is that they named it "Swipe left" but dragging to right is swiping right? So I have corrected the naming to fit the behaviour.

This was the last accompanist dependency. Also the last M1 component.

Fixes #1479

studio64_JJnhZAKFzZ.mp4

@MV-GH MV-GH requested a review from dessalines as a code owner June 1, 2024 15:18
@@ -132,12 +132,6 @@ dependencies {
implementation("io.noties.markwon:image-coil:4.6.2")
implementation("io.noties.markwon:linkify:4.6.2")

// Accompanist
implementation("com.google.accompanist:accompanist-pager:0.34.0")
Copy link
Member

Choose a reason for hiding this comment

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

🥳

@@ -184,7 +178,7 @@ dependencies {
implementation("androidx.compose.material:material-icons-extended")

implementation("org.ocpsoft.prettytime:prettytime:5.0.8.Final")
implementation("androidx.navigation:navigation-compose")
implementation("androidx.navigation:navigation-compose:2.7.7")
Copy link
Member

Choose a reason for hiding this comment

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

This version should come automatically with bom, no?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It did not for me, must ve come from accompanist

Copy link
Member

Choose a reason for hiding this comment

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

Gotcha.

@dessalines dessalines merged commit 4ee118b into LemmyNet:main Jun 1, 2024
1 check passed
@MV-GH MV-GH deleted the refactor/1479 branch June 2, 2024 00:19
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.

Replace Swipeable with AnchoredDraggable
2 participants