File tree 3 files changed +13
-4
lines changed
presentation-core/src/main/java/tachiyomi/presentation/core/components
3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 6
6
"schedule" : [ "every friday" ] ,
7
7
"labels" : [ "Dependencies" ] ,
8
8
"packageRules" : [
9
+ {
10
+ "groupName" : "Compose BOM" ,
11
+ "matchPackageNames" : [
12
+ "dev.chrisbanes.compose:compose-bom"
13
+ ] ,
14
+ "ignoreUnstable" : false
15
+ } ,
9
16
{
10
17
// Compiler plugins are tightly coupled to Kotlin version
11
18
"groupName" : "Kotlin" ,
12
19
"matchPackagePrefixes" : [
13
20
"androidx.compose.compiler" ,
14
- "org.jetbrains.kotlin" ,
21
+ "org.jetbrains.kotlin." ,
22
+ "org.jetbrains.kotlin:"
15
23
] ,
16
24
}
17
25
]
Original file line number Diff line number Diff line change 1
1
[versions ]
2
2
compiler = " 1.5.11"
3
- compose-bom = " 2024.02.00-alpha02"
3
+ # 2024.04.00-alpha01 has several bugs with the new animateItem() modifier
4
+ compose-bom = " 2024.03.00-alpha02"
4
5
accompanist = " 0.35.0-alpha"
5
6
6
7
[libraries ]
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ fun AdaptiveSheet(
122
122
)
123
123
}
124
124
val internalOnDismissRequest = {
125
- if (anchoredDraggableState.currentValue == 0 ) {
125
+ if (anchoredDraggableState.settledValue == 0 ) {
126
126
scope.launch { anchoredDraggableState.animateTo(1 ) }
127
127
}
128
128
}
@@ -192,7 +192,7 @@ fun AdaptiveSheet(
192
192
193
193
LaunchedEffect (anchoredDraggableState) {
194
194
scope.launch { anchoredDraggableState.animateTo(0 ) }
195
- snapshotFlow { anchoredDraggableState.currentValue }
195
+ snapshotFlow { anchoredDraggableState.settledValue }
196
196
.drop(1 )
197
197
.filter { it == 1 }
198
198
.collectLatest {
You can’t perform that action at this time.
0 commit comments