diff --git a/app/src/main/java/com/bnyro/translate/ui/screens/HistoryScreen.kt b/app/src/main/java/com/bnyro/translate/ui/screens/HistoryScreen.kt index 35ac41d6e..bd1f1b46c 100644 --- a/app/src/main/java/com/bnyro/translate/ui/screens/HistoryScreen.kt +++ b/app/src/main/java/com/bnyro/translate/ui/screens/HistoryScreen.kt @@ -137,7 +137,7 @@ fun HistoryScreen( LazyColumn( modifier = Modifier.fillMaxSize() ) { - items(filteredItems) { + items(filteredItems, key = { item -> item.id }) { HistoryRow(navController, translationModel, it) { viewModel.deleteItem(it) }