1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Add an app exit banner message

This commit is contained in:
Chris Cummer
2020-07-20 05:35:06 -07:00
parent 84763f3947
commit 9f94e8c63a
10 changed files with 436 additions and 24 deletions

View File

@@ -3,7 +3,7 @@ package github
import (
"fmt"
"github.com/google/go-github/v26/github"
ghb "github.com/google/go-github/v32/github"
"golang.org/x/text/language"
"golang.org/x/text/message"
)
@@ -152,7 +152,7 @@ var mergeIcons = map[string]string{
"blocked": "[red]\u2717[white] ",
}
func (widget *Widget) mergeString(pr *github.PullRequest) string {
func (widget *Widget) mergeString(pr *ghb.PullRequest) string {
if !widget.settings.enableStatus {
return ""
}

View File

@@ -5,7 +5,7 @@ import (
"fmt"
"net/http"
ghb "github.com/google/go-github/v26/github"
ghb "github.com/google/go-github/v32/github"
"github.com/wtfutil/wtf/utils"
"golang.org/x/oauth2"
)