The only downloader you need. 下载器的集大成者。
TypeScript asyncasynciobittorentbtcross-platformdownload-managerdownloaderfluent-designftphttp3magnetpyqtpyside6pythonqtquicreactsoftwarestreaming
feat(mobile): 添加消息权限提示横幅
XiaoYouChR00a347a22db1
diff --git a/app/view/mobile/permission.py b/app/view/mobile/permission.pyindex fa2c3326..37d52450 100644--- a/app/view/mobile/permission.py+++ b/app/view/mobile/permission.py@@ -7,11 +7,12 @@ from app.view.components.banners import WarningBannerclass PermissionBanner(WarningBanner):- def __init__(self, onGrant: Callable[[], None], parent: QWidget | None = None):+ def __init__(self, onGrant: Callable[[], None], text: str = "",+ parent: QWidget | None = None):super().__init__(parent, radius=0)self._onGrant = onGrantself.iconWidget = IconWidget(FluentIcon.INFO, self)- self.label = BodyLabel(self.tr("未授予存储权限,下载到公共目录将失败"), self)+ self.label = BodyLabel(text or self.tr("未授予存储权限,下载到公共目录将失败"), self)self.grantButton = PrimaryPushButton(self.tr("去授权"), self)self.hBoxLayout = QHBoxLayout(self)self._initWidget()