fix:隐藏修改多余

This commit is contained in:
jingyun
2026-06-22 15:33:38 +08:00
parent ab99010306
commit 3513fbac0f
2 changed files with 47 additions and 48 deletions
@@ -116,34 +116,27 @@ class ProfilePage extends ConsumerWidget {
),
),
const SizedBox(height: 12),
PrototypeCard(
padding: EdgeInsets.zero,
child: Column(
children: [
_SettingRow(
icon: Icons.download_outlined,
title: '本地导出备份',
trailing: '导出',
onTap: () => _showLocalBackupSheet(context),
),
const PrototypeDivider(margin: EdgeInsets.zero),
_SettingRow(
icon: Icons.cloud_outlined,
title: '云备份 · 多端同步',
trailing: loggedIn ? '已登录' : '登录解锁',
onTap: () => _showCloudBackupSheet(context, loggedIn),
),
const PrototypeDivider(margin: EdgeInsets.zero),
_SettingRow(
icon: Icons.grid_view_outlined,
title: '添加桌面小组件',
trailing: '占位',
onTap: () => _showWidgetSheet(context),
),
],
),
),
const SizedBox(height: 12),
// PrototypeCard(
// padding: EdgeInsets.zero,
// child: Column(
// children: [
// _SettingRow(
// icon: Icons.download_outlined,
// title: '本地导出备份',
// trailing: '导出',
// onTap: () => _showLocalBackupSheet(context),
// ),
// const PrototypeDivider(margin: EdgeInsets.zero),
// _SettingRow(
// icon: Icons.cloud_outlined,
// title: '云备份 · 多端同步',
// trailing: loggedIn ? '已登录' : '登录解锁',
// onTap: () => _showCloudBackupSheet(context, loggedIn),
// ),
// ],
// ),
// ),
// const SizedBox(height: 12),
PrototypeCard(
padding: EdgeInsets.zero,
child: Column(
@@ -186,6 +179,13 @@ class ProfilePage extends ConsumerWidget {
trailing: '¥ CNY',
onTap: () => _toast(context, '当前仅支持 ¥ CNY'),
),
const PrototypeDivider(margin: EdgeInsets.zero),
_SettingRow(
icon: Icons.grid_view_outlined,
title: '添加桌面小组件',
trailing: '占位',
onTap: () => _showWidgetSheet(context),
),
],
),
),