diff --git a/src/main/kotlin/app/ui/UncommitedChanges.kt b/src/main/kotlin/app/ui/UncommitedChanges.kt index b9109f0..2eadaac 100644 --- a/src/main/kotlin/app/ui/UncommitedChanges.kt +++ b/src/main/kotlin/app/ui/UncommitedChanges.kt @@ -184,8 +184,14 @@ fun UncommitedChanges( }, enabled = !repositoryState.isRebasing, label = { + val text = if(repositoryState.isRebasing) { + "Commit message (read-only)" + } else { + "Write your commit message here" + } + Text( - text = "Write your commit message here", + text = text, style = MaterialTheme.typography.body2.copy(color = MaterialTheme.colors.primaryVariant), ) },