From 2259e210141d0d254745d89c4302987a35240666 Mon Sep 17 00:00:00 2001 From: RetiredWizard Date: Thu, 2 Nov 2023 23:19:54 -0400 Subject: [PATCH] Replace depreciated .show() --- examples/asyncio_displayio_button.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/asyncio_displayio_button.py b/examples/asyncio_displayio_button.py index 18903c0..8221fe8 100644 --- a/examples/asyncio_displayio_button.py +++ b/examples/asyncio_displayio_button.py @@ -328,7 +328,7 @@ async def main(): # Don't forget the async! # show main_group so it's visible on the display -display.show(main_group) +display.root_group = main_group # start the main coroutine asyncio.run(main())