From e07dc95338110110dbb581c7d37642e30488c3a9 Mon Sep 17 00:00:00 2001 From: DelLevin-Home Date: Tue, 30 Jun 2026 20:52:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E7=95=8C=E9=9D=A2=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=BB=8E8->10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/profile_page.dart | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/lib/pages/profile_page.dart b/lib/pages/profile_page.dart index b135319..226fbe7 100644 --- a/lib/pages/profile_page.dart +++ b/lib/pages/profile_page.dart @@ -343,7 +343,7 @@ class _ProfilePageState extends State with RouteAware { child: ListView.separated( scrollDirection: Axis.horizontal, padding: const EdgeInsets.symmetric(horizontal: 20), - itemCount: recent.take(8).length, + itemCount: recent.take(10).length, separatorBuilder: (_, __) => const SizedBox(width: 8), itemBuilder: (_, i) => _buildCoverCard( title: recent[i].title, @@ -389,7 +389,7 @@ class _ProfilePageState extends State with RouteAware { child: ListView.separated( scrollDirection: Axis.horizontal, padding: const EdgeInsets.symmetric(horizontal: 20), - itemCount: recent.take(8).length, + itemCount: recent.take(10).length, separatorBuilder: (_, __) => const SizedBox(width: 8), itemBuilder: (_, i) => _buildCoverCard( title: recent[i].title, @@ -422,7 +422,7 @@ class _ProfilePageState extends State with RouteAware { child: ListView.separated( scrollDirection: Axis.horizontal, padding: const EdgeInsets.symmetric(horizontal: 20), - itemCount: recent.take(8).length, + itemCount: recent.take(10).length, separatorBuilder: (_, __) => const SizedBox(width: 10), itemBuilder: (_, i) => _buildNoteCard( title: recent[i].title, @@ -993,10 +993,8 @@ class _SettingsPageState extends State { icon: Icons.tune_outlined, title: '功能设置', subtitle: '启动标签、模块开关、侧边栏功能', - onTap: () => Navigator.push( - context, - MaterialPageRoute( - builder: (_) => const FeatureSettingsPage())), + onTap: () => Navigator.push(context, + MaterialPageRoute(builder: (_) => const FeatureSettingsPage())), ), Divider( height: 0.5, @@ -2775,4 +2773,3 @@ class _WebViewPageState extends State { ); } } -