fix mix up in label for add/remove hunk

This commit is contained in:
Stephan Dilly 2020-04-21 22:31:15 +02:00
parent 466de64acc
commit aa1c54d366

View file

@ -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(