mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-26 02:57:50 +02:00
Update compose bom and fix renovate config for it (#674)
This commit is contained in:
@ -122,7 +122,7 @@ fun AdaptiveSheet(
|
||||
)
|
||||
}
|
||||
val internalOnDismissRequest = {
|
||||
if (anchoredDraggableState.currentValue == 0) {
|
||||
if (anchoredDraggableState.settledValue == 0) {
|
||||
scope.launch { anchoredDraggableState.animateTo(1) }
|
||||
}
|
||||
}
|
||||
@ -192,7 +192,7 @@ fun AdaptiveSheet(
|
||||
|
||||
LaunchedEffect(anchoredDraggableState) {
|
||||
scope.launch { anchoredDraggableState.animateTo(0) }
|
||||
snapshotFlow { anchoredDraggableState.currentValue }
|
||||
snapshotFlow { anchoredDraggableState.settledValue }
|
||||
.drop(1)
|
||||
.filter { it == 1 }
|
||||
.collectLatest {
|
||||
|
Reference in New Issue
Block a user