This commit is contained in:
Stephan Dilly 2021-05-26 23:23:04 +02:00
parent 246ea9195d
commit 5a51fc63ad
2 changed files with 2 additions and 4 deletions

View file

@ -385,9 +385,7 @@ impl CommitComponent {
let details = sync::get_commit_details(CWD, id)?;
self.input.set_title(strings::commit_title_amend(
&self.key_config,
));
self.input.set_title(strings::commit_title_amend());
if let Some(msg) = details.message {
self.input.set_text(msg.combine());

View file

@ -68,7 +68,7 @@ pub fn commit_title() -> String {
pub fn commit_title_merge() -> String {
"Commit (Merge)".to_string()
}
pub fn commit_title_amend(_key_config: &SharedKeyConfig) -> String {
pub fn commit_title_amend() -> String {
"Commit (Amend)".to_string()
}
pub fn commit_msg(_key_config: &SharedKeyConfig) -> String {