Bump reorderable from 0.9.5 to 0.9.6 (#3064)

* Bump reorderable from 0.9.5 to 0.9.6

Bumps [reorderable](https://github.com/aclassen/ComposeReorderable) from 0.9.5 to 0.9.6.
- [Release notes](https://github.com/aclassen/ComposeReorderable/releases)
- [Commits](https://github.com/aclassen/ComposeReorderable/commits/0.9.6)

---
updated-dependencies:
- dependency-name: org.burnoutcrew.composereorderable:reorderable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update canDragOver to new format

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joris Pelgröm <joris.pelgrom@gmail.com>
This commit is contained in:
dependabot[bot] 2022-11-22 14:02:47 -05:00 committed by GitHub
parent 382b26c4c3
commit 21d301b3f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -207,7 +207,7 @@ dependencies {
implementation("com.mikepenz:iconics-compose:5.4.0")
implementation("com.mikepenz:community-material-typeface:7.0.96.0-kotlin@aar")
"fullImplementation"("org.burnoutcrew.composereorderable:reorderable:0.9.5")
"fullImplementation"("org.burnoutcrew.composereorderable:reorderable:0.9.6")
implementation("com.github.AppDevNext:ChangeLog:3.4")
}

View file

@ -47,7 +47,7 @@ fun LoadWearFavoritesSettings(
) {
val reorderState = rememberReorderableLazyListState(
onMove = { from, to -> settingsWearViewModel.onMove(from, to) },
canDragOver = { settingsWearViewModel.canDragOver(it) },
canDragOver = { draggedOver, _ -> settingsWearViewModel.canDragOver(draggedOver) },
onDragEnd = { _, _ ->
settingsWearViewModel.sendHomeFavorites(settingsWearViewModel.favoriteEntityIds.toList())
}