Skip to content

Commit

Permalink
Removed usage of deprecated icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Dec 20, 2023
1 parent d1f54a5 commit 86328a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/table/table/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ExampleTableApp(toga.App):
lbl_fontsize = None

def load_data(self):
yak = toga.Icon.TOGA_ICON
yak = toga.Icon.DEFAULT_ICON
red = toga.Icon("icons/red")
green = toga.Icon("icons/green")

Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial2/tutorial/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def startup(self):
action2,
text="Action 2",
tooltip="Perform action 2",
icon=toga.Icon.TOGA_ICON,
icon=toga.Icon.DEFAULT_ICON,
group=things,
)

Expand Down

0 comments on commit 86328a6

Please sign in to comment.