You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: icons.go
    path of file: ./repos/lazygit/pkg/gui/presentation/icons
    
    the code of the file until where you have to start completion: package icons

import (
	"log"

	"github.com/samber/lo"
)

type IconProperties struct {
	Icon  string
	Color uint8
}

var isIconEnabled = false

func IsIconEnabled() bool {
	return isIconEnabled
}

func SetNerdFontsVersion(version string) {
	if version == "" {
		isIconEnabled = false
	} else {
		if !
    
func SetNerdFontsVersion(version string) {
	if version == "" {
		isIconEnabled = false
	} else {
		if !lo.Contains([]string{"2", "3"}, version) {
			log.Fatalf("Unsupported nerdFontVersion %s", version)
		}

		if version == "2" {
			patchGitIconsForNerdFontsV2()
			patchFileIconsForNerdFontsV2()
		}

		isIconEnabled = true
	}
}