From a719c2355a218f9188092041d34c80cb1e346c21 Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Fri, 15 Oct 2021 03:09:21 +0200 Subject: [PATCH] Fixed refs not updating after a log change --- src/main/kotlin/app/ui/Log.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/kotlin/app/ui/Log.kt b/src/main/kotlin/app/ui/Log.kt index 3157888..6fd7b36 100644 --- a/src/main/kotlin/app/ui/Log.kt +++ b/src/main/kotlin/app/ui/Log.kt @@ -182,9 +182,7 @@ fun Log( } itemsIndexed(items = commitList) { index, item -> - val commitRefs = remember(commitList, item) { - item.refs - } + val commitRefs = item.refs Row( modifier = Modifier .height(40.dp)