Преглед изворни кода

fix "await dialog" example

Falko Schindler пре 2 година
родитељ
комит
6467807e3f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -358,7 +358,7 @@ with example(async_dialog):
 
     async def show():
         result = await dialog
-        await ui.notify(f'You chose {result}')
+        ui.notify(f'You chose {result}')
 
     ui.button('Await a dialog', on_click=show)