From 6070c1f4242af057718aab358559a1ec679bd070 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Sat, 18 Jul 2026 14:51:36 +0800 Subject: [PATCH] style: align file loading state with workspace --- lib/pages/workspace_page.dart | 36 +++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/lib/pages/workspace_page.dart b/lib/pages/workspace_page.dart index e3fabb6..156fe37 100644 --- a/lib/pages/workspace_page.dart +++ b/lib/pages/workspace_page.dart @@ -2638,25 +2638,25 @@ class _ShadLoading extends StatelessWidget { Widget build(BuildContext context) { final cs = ShadTheme.of(context).colorScheme; return Center( - child: OS26Glass( - radius: 12, - opacity: 0.52, - padding: const EdgeInsets.symmetric(horizontal: 18, vertical: 14), - child: Column( - mainAxisSize: MainAxisSize.min, - children: [ - const ShadProgress(), - const SizedBox(height: 10), - Text( - '加载中', - style: TextStyle( - fontSize: 12, - fontWeight: FontWeight.w700, - color: cs.mutedForeground, - ), + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + const SizedBox(width: 40, height: 40, child: ShadProgress()), + const SizedBox(height: 16), + Text( + '正在加载文件夹内容...', + style: TextStyle( + fontSize: 14, + fontWeight: FontWeight.w800, + color: cs.foreground, ), - ], - ), + ), + const SizedBox(height: 8), + Text( + '正在同步文件、大小和修改时间', + style: TextStyle(fontSize: 12, color: cs.mutedForeground), + ), + ], ), ); }