diff --git a/client/lib/screens/shell/app_shell.dart b/client/lib/screens/shell/app_shell.dart index 328d6b6..fa61dad 100644 --- a/client/lib/screens/shell/app_shell.dart +++ b/client/lib/screens/shell/app_shell.dart @@ -42,19 +42,8 @@ class _AppShellState extends ConsumerState { Text('发现新版本'), ], ), - content: Column( - mainAxisSize: MainAxisSize.min, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text('当前版本需要更新至 v${info.latestVersion} 才能继续使用。'), - if (info.releaseNotes.isNotEmpty) ...[ - const SizedBox(height: 12), - Text(info.releaseNotes, - style: const TextStyle( - color: AppTheme.textSecondary, fontSize: 13)), - ], - ], - ), + content: Text('发现新版本 v${info.latestVersion},需更新后才能继续使用,' + '更新以获得最新功能与修复。'), actions: [ ElevatedButton( onPressed: () => startInAppUpdate(context, info), @@ -229,7 +218,8 @@ class _AppShellState extends ConsumerState { const SizedBox(width: 8), Expanded( child: Text( - '发现新版本 v${updateInfo.latestVersion}', + '发现新版本 v${updateInfo.latestVersion},' + '建议立即更新以获得最新功能与修复', style: const TextStyle( color: Color(0xFF5D4037), fontSize: 13),