浏览代码

shorter button text

Rodja Trappe 3 年之前
父节点
当前提交
a97107a2ed
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -175,7 +175,7 @@ with example(async_button):
         await asyncio.sleep(5)
         ui.notify('Asynchronous task finished')
 
-    ui.button('Start asynchronous task', on_click=async_task)
+    ui.button('start async task', on_click=async_task)
 
 with example(ui.checkbox):
     ui.checkbox('check me', on_change=lambda e: checkbox_state.set_text(e.value))