mcp: switch icon theme to named string type (#733)
To be consistent with logging level, use a named string type for icon themes. This improves readability / discoverability, and is more consistent. Updates #552 For #725
This commit is contained in:
parent
76e6854375
commit
411d5a049a
1 changed files with 17 additions and 6 deletions
|
|
@ -152,7 +152,7 @@ var iconObj = Icon{
|
|||
Source: "foobar",
|
||||
MIMEType: "image/png",
|
||||
Sizes: []string{"48x48", "96x96"},
|
||||
Theme: "light",
|
||||
Theme: IconThemeLight,
|
||||
}
|
||||
|
||||
// runServerTest runs the server conformance test.
|
||||
|
|
|
|||
Loading…
Reference in a new issue