Skip to content

Commit

Permalink
ICONS dict was replaced with constants
Browse files Browse the repository at this point in the history
  • Loading branch information
Garulf committed Jan 16, 2024
1 parent fd49f2a commit 183a75e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/Launcher_Icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ You can use some of these icons in your plugin by importing from the `icons` mod
```py
from pyflowlauncher import Plugin, Result, send_results
from pyflowlauncher.result import ResultResponse
from pyflowlauncher.icons import ICONS
from pyflowlauncher.icons import ADMIN

plugin = Plugin()

Expand All @@ -25,7 +25,7 @@ def query(query: str) -> ResultResponse:
r = Result(
Title="This is a title!",
SubTitle="This is the subtitle!",
IcoPath=ICONS["app"]
IcoPath=ADMIN
)
return send_results([r])

Expand Down

0 comments on commit 183a75e

Please sign in to comment.