Added alphabetical sorting to status entries
This commit is contained in:
parent
f57294c886
commit
9b876f05f0
@ -121,8 +121,8 @@ class StatusViewModel @Inject constructor(
|
|||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
val status = statusManager.getStatus(git)
|
val status = statusManager.getStatus(git)
|
||||||
val staged = statusManager.getStaged(status)
|
val staged = statusManager.getStaged(status).sortedBy { it.filePath }
|
||||||
val unstaged = statusManager.getUnstaged(status)
|
val unstaged = statusManager.getUnstaged(status).sortedBy { it.filePath }
|
||||||
|
|
||||||
_stageStatus.value = StageStatus.Loaded(staged, unstaged, isPartiallyReloading = false)
|
_stageStatus.value = StageStatus.Loaded(staged, unstaged, isPartiallyReloading = false)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user