File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -385,9 +385,7 @@ impl CommitComponent {
385
385
386
386
let details = sync:: get_commit_details ( CWD , id) ?;
387
387
388
- self . input . set_title ( strings:: commit_title_amend (
389
- & self . key_config ,
390
- ) ) ;
388
+ self . input . set_title ( strings:: commit_title_amend ( ) ) ;
391
389
392
390
if let Some ( msg) = details. message {
393
391
self . input . set_text ( msg. combine ( ) ) ;
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ pub fn commit_title() -> String {
68
68
pub fn commit_title_merge ( ) -> String {
69
69
"Commit (Merge)" . to_string ( )
70
70
}
71
- pub fn commit_title_amend ( _key_config : & SharedKeyConfig ) -> String {
71
+ pub fn commit_title_amend ( ) -> String {
72
72
"Commit (Amend)" . to_string ( )
73
73
}
74
74
pub fn commit_msg ( _key_config : & SharedKeyConfig ) -> String {
You can’t perform that action at this time.
0 commit comments