We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c7706a commit 8fa5640Copy full SHA for 8fa5640
src/textual/widget.py
@@ -958,10 +958,9 @@ def set_loading(self, loading: bool) -> None:
958
Args:
959
loading: `True` to put the widget into a loading state, or `False` to reset the loading state.
960
"""
961
- LOADING_INDICATOR_CLASS = "-textual-loading-indicator"
962
if loading:
963
loading_indicator = self.get_loading_widget()
964
- loading_indicator.add_class(LOADING_INDICATOR_CLASS)
+ loading_indicator.add_class("-textual-loading-indicator")
965
self._cover(loading_indicator)
966
else:
967
self._uncover()
0 commit comments