standardise diffmode

This commit is contained in:
Jesse Duffield
2020-08-19 22:27:31 +10:00
parent 419cb9feb8
commit 2855b5b4d5
11 changed files with 23 additions and 91 deletions

View File

@@ -19,14 +19,6 @@ func (gui *Gui) getSelectedRemoteBranch() *commands.RemoteBranch {
}
func (gui *Gui) handleRemoteBranchSelect() error {
if gui.popupPanelFocused() {
return nil
}
if gui.inDiffMode() {
return gui.renderDiff()
}
var task updateTask
remoteBranch := gui.getSelectedRemoteBranch()
if remoteBranch == nil {