Merge pull request #80 from Philipp91/statusentriesfix
Add key to the StatusEntries list
This commit is contained in:
commit
6cca8e9c9e
@ -581,7 +581,7 @@ private fun EntriesList(
|
|||||||
.background(MaterialTheme.colors.background),
|
.background(MaterialTheme.colors.background),
|
||||||
state = lazyListState,
|
state = lazyListState,
|
||||||
) {
|
) {
|
||||||
items(statusEntries) { statusEntry ->
|
items(statusEntries, key = { it.filePath }) { statusEntry ->
|
||||||
val isEntrySelected = selectedEntryType != null &&
|
val isEntrySelected = selectedEntryType != null &&
|
||||||
selectedEntryType is DiffEntryType.UncommitedDiff && // Added for smartcast
|
selectedEntryType is DiffEntryType.UncommitedDiff && // Added for smartcast
|
||||||
selectedEntryType.statusEntry == statusEntry
|
selectedEntryType.statusEntry == statusEntry
|
||||||
|
Loading…
Reference in New Issue
Block a user