Changed "Stage" to "Stage hunk" in diff hunks

This commit is contained in:
Abdelilah El Aissaoui 2022-01-04 20:01:36 +01:00
parent 128397ae26
commit 14c8b24456

View File

@ -84,10 +84,10 @@ fun Diff(
val buttonText: String val buttonText: String
val color: Color val color: Color
if (diffEntryType is DiffEntryType.StagedDiff) { if (diffEntryType is DiffEntryType.StagedDiff) {
buttonText = "Unstage" buttonText = "Unstage hunk"
color = MaterialTheme.colors.error color = MaterialTheme.colors.error
} else { } else {
buttonText = "Stage" buttonText = "Stage hunk"
color = MaterialTheme.colors.primary color = MaterialTheme.colors.primary
} }