From 14c8b24456e66ec00b418b924d4f4f7bb6395a0f Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Tue, 4 Jan 2022 20:01:36 +0100 Subject: [PATCH] Changed "Stage" to "Stage hunk" in diff hunks --- src/main/kotlin/app/ui/Diff.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/ui/Diff.kt b/src/main/kotlin/app/ui/Diff.kt index 667b745..74b6061 100644 --- a/src/main/kotlin/app/ui/Diff.kt +++ b/src/main/kotlin/app/ui/Diff.kt @@ -84,10 +84,10 @@ fun Diff( val buttonText: String val color: Color if (diffEntryType is DiffEntryType.StagedDiff) { - buttonText = "Unstage" + buttonText = "Unstage hunk" color = MaterialTheme.colors.error } else { - buttonText = "Stage" + buttonText = "Stage hunk" color = MaterialTheme.colors.primary }