Skip to content

Commit 89edf7d

Browse files
committed
Fix: stickyHeaderActualBottomPx 초기화 로직 수정
1 parent 50fbf10 commit 89edf7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

presentation/src/main/java/com/threegap/bitnagil/presentation/screen/home/model/CollapsibleHeaderState.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ internal class CollapsibleHeaderState(
2727
val expandedHeaderHeightDp: Dp,
2828
) {
2929
private val expandedHeaderHeightPx: Float = with(density) { expandedHeaderHeightDp.toPx() }
30+
private val initialStickyHeaderHeightPx: Float = with(density) { initialStickyHeaderHeightDp.toPx() }
3031

31-
var stickyHeaderActualBottomPx by mutableFloatStateOf(0f)
32+
var stickyHeaderActualBottomPx by mutableFloatStateOf(initialStickyHeaderHeightPx)
3233
internal set
3334

3435
val collapsedContentOffsetDp: Dp

0 commit comments

Comments
 (0)