Skip to content

Commit 2259e21

Browse files
committed
Replace depreciated .show()
1 parent c277db5 commit 2259e21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/asyncio_displayio_button.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ async def main(): # Don't forget the async!
328328

329329

330330
# show main_group so it's visible on the display
331-
display.show(main_group)
331+
display.root_group = main_group
332332

333333
# start the main coroutine
334334
asyncio.run(main())

0 commit comments

Comments
 (0)