Skip to content

Commit da943a7

Browse files
authored
Merge pull request #52 from RetiredWizard/main
Replace depreciated .show()
2 parents c277db5 + 2259e21 commit da943a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/asyncio_displayio_button.py

+1-1
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)