diff --git a/lib/features/profile/presentation/profile_page.dart b/lib/features/profile/presentation/profile_page.dart index ab40c62..f2df6e2 100644 --- a/lib/features/profile/presentation/profile_page.dart +++ b/lib/features/profile/presentation/profile_page.dart @@ -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), + ), ], ), ), diff --git a/lib/features/settings/presentation/settings_page.dart b/lib/features/settings/presentation/settings_page.dart index c125d04..191aa49 100644 --- a/lib/features/settings/presentation/settings_page.dart +++ b/lib/features/settings/presentation/settings_page.dart @@ -98,26 +98,25 @@ class SettingsPage extends HookConsumerWidget { ], ), - const SizedBox(height: 22), - const _Section('备份'), - _Card( - children: [ - _NavRow( - icon: FlutterRemix.download_2_line, - label: '本地导出备份', - trailing: '导出', - onTap: () => _showLocalBackupSheet(context), - ), - Divider(height: 1, thickness: 1, color: cs.border), - _NavRow( - icon: FlutterRemix.cloud_line, - label: '云备份', - trailing: '占位', - onTap: () => _showCloudBackupSheet(context), - ), - ], - ), - + // const SizedBox(height: 22), + // const _Section('备份'), + // _Card( + // children: [ + // _NavRow( + // icon: FlutterRemix.download_2_line, + // label: '本地导出备份', + // trailing: '导出', + // onTap: () => _showLocalBackupSheet(context), + // ), + // Divider(height: 1, thickness: 1, color: cs.border), + // _NavRow( + // icon: FlutterRemix.cloud_line, + // label: '云备份', + // trailing: '占位', + // onTap: () => _showCloudBackupSheet(context), + // ), + // ], + // ), const SizedBox(height: 22), const _Section('工具'), _Card(