mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2025-12-26 04:48:05 +08:00
22 lines
505 B
Python
22 lines
505 B
Python
from textual.app import ComposeResult
|
|
from textual.containers import Grid
|
|
from textual.screen import ModalScreen
|
|
from textual.widgets import Label
|
|
from textual.widgets import LoadingIndicator
|
|
|
|
from ..translation import _
|
|
|
|
__all__ = ["Loading"]
|
|
|
|
|
|
class Loading(ModalScreen):
|
|
def __init__(self, ):
|
|
super().__init__()
|
|
|
|
def compose(self) -> ComposeResult:
|
|
yield Grid(
|
|
Label(_("程序处理中...")),
|
|
LoadingIndicator(),
|
|
classes="loading",
|
|
)
|