summaryrefslogtreecommitdiffstats
path: root/pkg/gui/branches_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-11-18 09:08:32 +1100
committerJesse Duffield <jessedduffield@gmail.com>2020-11-21 17:31:08 +1100
commita3dfcd5a9502e482190b255f7964b97a2c55e074 (patch)
tree5789f242ceef97ea8193fe7cbfb832285e5bc995 /pkg/gui/branches_panel.go
parentce928dc6c88262f1c85a1fcd02e31096af2cc48a (diff)
toast notifications
Diffstat (limited to 'pkg/gui/branches_panel.go')
-rw-r--r--pkg/gui/branches_panel.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/gui/branches_panel.go b/pkg/gui/branches_panel.go
index 8aafe0682..9208f7085 100644
--- a/pkg/gui/branches_panel.go
+++ b/pkg/gui/branches_panel.go
@@ -107,9 +107,9 @@ func (gui *Gui) handleCopyPullRequestURLPress(g *gocui.Gui, v *gocui.View) error
return gui.surfaceError(err)
}
- return gui.createPopupPanel(createPopupPanelOpts{
- prompt: gui.Tr.PullRequestURLCopiedToClipboard,
- })
+ gui.raiseToastStatus(gui.Tr.PullRequestURLCopiedToClipboard)
+
+ return nil
}
func (gui *Gui) handleGitFetch(g *gocui.Gui, v *gocui.View) error {