Skip to content

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

chore: better download page placeholder

Predidite6f655e31572
diff --git a/lib/pages/download/download_page.dart b/lib/pages/download/download_page.dart
index 61d1cdb1..18906eed 100644
--- a/lib/pages/download/download_page.dart
+++ b/lib/pages/download/download_page.dart
@@ -32,8 +32,24 @@ class _DownloadPageState extends State<DownloadPage> {
appBar: const SysAppBar(title: Text('下载管理')),
body: Observer(builder: (context) {
if (downloadController.records.isEmpty) {
- return const Center(
- child: Text('暂无离线下载'),
+ return Center(
+ child: Column(
+ mainAxisSize: MainAxisSize.min,
+ children: [
+ Icon(
+ Icons.download_rounded,
+ size: 72,
+ color: Theme.of(context).colorScheme.outline.withValues(alpha: 0.5),
+ ),
+ const SizedBox(height: 16),
+ Text(
+ '暂无离线下载',
+ style: Theme.of(context).textTheme.titleMedium?.copyWith(
+ color: Theme.of(context).colorScheme.outline,
+ ),
+ ),
+ ],
+ ),
);
}
return ListView.builder(