mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
Fix crash (#725)
This commit is contained in:
parent
0f52616d21
commit
2572a38450
1 changed files with 3 additions and 1 deletions
|
|
@ -238,7 +238,9 @@ fun HomePageContent(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
LaunchedEffect(position) {
|
LaunchedEffect(position) {
|
||||||
listState.animateScrollToItem(position.row)
|
if (position.row >= 0) {
|
||||||
|
listState.animateScrollToItem(position.row)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
LaunchedEffect(onUpdateBackdrop, focusedItem) {
|
LaunchedEffect(onUpdateBackdrop, focusedItem) {
|
||||||
focusedItem?.let { onUpdateBackdrop.invoke(it) }
|
focusedItem?.let { onUpdateBackdrop.invoke(it) }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue