1
0
Эх сурвалжийг харах

fix "await dialog" example

Falko Schindler 2 жил өмнө
parent
commit
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)