cmd: remove call to String
This commit is contained in:
parent
9cff20fdc8
commit
f175fab16d
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ func newGuildsTree(cfg *config.Config) *guildsTree {
|
|||
func (gt *guildsTree) createFolderNode(folder gateway.GuildFolder) {
|
||||
name := "Folder"
|
||||
if folder.Name != "" {
|
||||
name = fmt.Sprintf("[%s]%s[-]", folder.Color.String(), folder.Name)
|
||||
name = fmt.Sprintf("[%s]%s[-]", folder.Color, folder.Name)
|
||||
}
|
||||
|
||||
folderNode := tview.NewTreeNode(name).SetExpanded(gt.cfg.Theme.GuildsTree.AutoExpandFolders)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue