From 5740b689be38082577d0a9edd14afdd951b1f5f0 Mon Sep 17 00:00:00 2001 From: Joel Valentine Date: Sat, 31 Aug 2019 17:27:49 +0100 Subject: [PATCH] adding back mergedString --- modules/github/display.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/github/display.go b/modules/github/display.go index 53b3fd00..b75dfc90 100644 --- a/modules/github/display.go +++ b/modules/github/display.go @@ -12,7 +12,6 @@ func (widget *Widget) display() { func (widget *Widget) content() (string, string, bool) { repo := widget.currentGithubRepo() - title := fmt.Sprintf("%s - %s", widget.CommonSettings().Title, widget.title(repo)) if repo == nil { return title, " GitHub repo data is unavailable ", false @@ -47,7 +46,7 @@ func (widget *Widget) displayMyPullRequests(repo *GithubRepo, username string) s str := "" for idx, pr := range prs { - str += fmt.Sprintf(`[green]["%d"]%4d[""][white] %s`, idx, *pr.Number, *pr.Title) + str += fmt.Sprintf(`%s[green]["%d"]%4d[""][white] %s`, widget.mergeString(pr), idx, *pr.Number, *pr.Title) str += "\n" }