3b4f23c670 feat: 支持设置作者别名
1. 新增 mapping_data 配置参数
2. 新增自动更新作者昵称功能

Closes #176
Closes #194
Closes #199
Closes #229
2025-03-22 22:10:17 +08:00

23 lines
491 B
Python

from textual.app import ComposeResult
from textual.containers import Grid
from textual.screen import ModalScreen
from textual.widgets import Label, LoadingIndicator
from ..translation import _
__all__ = ["Loading"]
class Loading(ModalScreen):
def __init__(
self,
):
super().__init__()
def compose(self) -> ComposeResult:
yield Grid(
Label(_("程序处理中...")),
LoadingIndicator(),
classes="loading",
)