Skip to content

Commit

Permalink
fix: can't delete consecutive history entries (closes #437)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bnyro committed Jun 12, 2024
1 parent 21c7d1d commit 8191079
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 8191079

Please sign in to comment.