Skip to content

Commit

Permalink
better
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed May 11, 2024
1 parent 2763370 commit ff4df98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/textual/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,8 @@ def set_loading(self, loading: bool) -> Awaitable:
if child.has_class(LOADING_INDICATOR_CLASS):
return child.remove()

async def dummy(): ...
async def dummy() -> None:
"""Do nothing if there is no indicator."""

return dummy()

Expand Down

0 comments on commit ff4df98

Please sign in to comment.