scrolling bug fix
This commit is contained in:
parent
acd1b13760
commit
93907c2dac
@ -116,7 +116,7 @@ fun TradingDecisionLog() {
|
||||
onClick = {
|
||||
coroutineScope.launch {
|
||||
// index 0으로 부드럽게 스크롤 (즉시 이동은 scrollToItem(0))
|
||||
listState.animateScrollToItem(filteredLogs.size - 1)
|
||||
listState.animateScrollToItem(if (filteredLogs.size - 1 >= 0) filteredLogs.size - 1 else 0)
|
||||
}
|
||||
}
|
||||
) { Text("AI 자동매매 실시간 로그", style = MaterialTheme.typography.h6) }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user