mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28:21 +00:00
fix mix up in label for add/remove hunk
This commit is contained in:
parent
466de64acc
commit
aa1c54d366
1 changed files with 2 additions and 2 deletions
|
|
@ -321,9 +321,9 @@ impl Component for DiffComponent {
|
|||
));
|
||||
|
||||
let cmd_text = if self.current.is_stage {
|
||||
commands::DIFF_HUNK_ADD
|
||||
} else {
|
||||
commands::DIFF_HUNK_REMOVE
|
||||
} else {
|
||||
commands::DIFF_HUNK_ADD
|
||||
};
|
||||
|
||||
out.push(CommandInfo::new(
|
||||
|
|
|
|||
Loading…
Reference in a new issue