We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9391962 commit 22d622fCopy full SHA for 22d622f
src/components/commit.rs
@@ -385,9 +385,7 @@ impl CommitComponent {
385
386
let details = sync::get_commit_details(CWD, id)?;
387
388
- self.input.set_title(strings::commit_title_amend(
389
- &self.key_config,
390
- ));
+ self.input.set_title(strings::commit_title_amend());
391
392
if let Some(msg) = details.message {
393
self.input.set_text(msg.combine());
src/strings.rs
@@ -68,7 +68,7 @@ pub fn commit_title() -> String {
68
pub fn commit_title_merge() -> String {
69
"Commit (Merge)".to_string()
70
}
71
-pub fn commit_title_amend(_key_config: &SharedKeyConfig) -> String {
+pub fn commit_title_amend() -> String {
72
"Commit (Amend)".to_string()
73
74
pub fn commit_msg(_key_config: &SharedKeyConfig) -> String {
0 commit comments