Skip to content

Commit

Permalink
update Transport Timeline lazy threshold to 300 lines for performance…
Browse files Browse the repository at this point in the history
… tuning
  • Loading branch information
sunny-chung committed Feb 21, 2024
1 parent 38b8652 commit 2375287
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ fun TransportTimelineView(modifier: Modifier = Modifier, protocol: ProtocolVersi
So, Column is still being used when the number of Text elements is small.
*/
if ((totalNumLines ?: Int.MAX_VALUE) > 1000) {
if ((totalNumLines ?: Int.MAX_VALUE) > 300) {
val scrollState = rememberLazyListState()
scrollbarAdapter = rememberScrollbarAdapter(scrollState)

Expand Down

0 comments on commit 2375287

Please sign in to comment.