Skip to content

Commit 8557b80

Browse files
committed
fix function call in wrong order
1 parent ff7377b commit 8557b80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ptr-compose/src/main/java/wtf/s1/ui/nsptr/compose/NSPtrLayout.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ class NSPtrState(
6363
animateContentTo(contentInitPositionPx)
6464
}
6565
is SideEffect.OnRefreshing -> {
66-
onRefresh?.invoke(this@NSPtrState)
6766
animateContentTo(contentRefreshPositionPx)
67+
onRefresh?.invoke(this@NSPtrState)
6868
}
6969
else -> {
7070

0 commit comments

Comments
 (0)