fix: adjust Azure DevOps icon

relates to #3336
This commit is contained in:
Jan De Dobbeleer 2023-01-10 12:37:50 +01:00 committed by Jan De Dobbeleer
parent ef050bf023
commit 6ca3d22b80
2 changed files with 3 additions and 3 deletions

View file

@ -408,8 +408,8 @@ func (g *Git) getUpstreamIcon() string {
"github": {GithubIcon, "\uF408 "},
"gitlab": {GitlabIcon, "\uF296 "},
"bitbucket": {BitbucketIcon, "\uF171 "},
"dev.azure.com": {AzureDevOpsIcon, "\uFD03 "},
"visualstudio.com": {AzureDevOpsIcon, "\uFD03 "},
"dev.azure.com": {AzureDevOpsIcon, "\uEBE8 "},
"visualstudio.com": {AzureDevOpsIcon, "\uEBE8 "},
}
for key, value := range defaults {
if strings.Contains(g.UpstreamURL, key) {

View file

@ -109,7 +109,7 @@ You can set the following properties to `true` to enable fetching additional inf
| `github_icon` | `string` | icon/text to display when the upstream is Github - defaults to `\uF408 ` |
| `gitlab_icon` | `string` | icon/text to display when the upstream is Gitlab - defaults to `\uF296 ` |
| `bitbucket_icon` | `string` | icon/text to display when the upstream is Bitbucket - defaults to `\uF171 ` |
| `azure_devops_icon` | `string` | icon/text to display when the upstream is Azure DevOps - defaults to `\uFD03 ` |
| `azure_devops_icon` | `string` | icon/text to display when the upstream is Azure DevOps - defaults to `\uEBE8 ` |
| `git_icon` | `string` | icon/text to display when the upstream is not known/mapped - defaults to `\uE5FB ` |
| `upstream_icons` | `map[string]string` | a key, value map representing the remote URL (or a part of that URL) and icon to use in case the upstream URL contains the key. These get precedence over the standard icons |