mirror of
https://github.com/home-assistant/android
synced 2024-10-15 12:32:54 +00:00
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:
parent
382b26c4c3
commit
21d301b3f8
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
|
@ -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())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue