Skip to content

Commit

Permalink
change the name of icon= to setIcon
Browse files Browse the repository at this point in the history
  • Loading branch information
neroist committed Dec 31, 2023
1 parent 52e0daf commit 552a3e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui.nim
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ proc `port=`*(window: Window, port: int) =

{.pop.}

proc `icon=`*(window: Window; icon, `type`: string) =
proc setIcon*(window: Window; icon, `type`: string) =
## Set the default embedded HTML favicon.
##
## :window: The window to set the icon for.
Expand Down

0 comments on commit 552a3e3

Please sign in to comment.