fix:隐藏修改多余
This commit is contained in:
@@ -116,34 +116,27 @@ class ProfilePage extends ConsumerWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 12),
|
const SizedBox(height: 12),
|
||||||
PrototypeCard(
|
// PrototypeCard(
|
||||||
padding: EdgeInsets.zero,
|
// padding: EdgeInsets.zero,
|
||||||
child: Column(
|
// child: Column(
|
||||||
children: [
|
// children: [
|
||||||
_SettingRow(
|
// _SettingRow(
|
||||||
icon: Icons.download_outlined,
|
// icon: Icons.download_outlined,
|
||||||
title: '本地导出备份',
|
// title: '本地导出备份',
|
||||||
trailing: '导出',
|
// trailing: '导出',
|
||||||
onTap: () => _showLocalBackupSheet(context),
|
// onTap: () => _showLocalBackupSheet(context),
|
||||||
),
|
// ),
|
||||||
const PrototypeDivider(margin: EdgeInsets.zero),
|
// const PrototypeDivider(margin: EdgeInsets.zero),
|
||||||
_SettingRow(
|
// _SettingRow(
|
||||||
icon: Icons.cloud_outlined,
|
// icon: Icons.cloud_outlined,
|
||||||
title: '云备份 · 多端同步',
|
// title: '云备份 · 多端同步',
|
||||||
trailing: loggedIn ? '已登录' : '登录解锁',
|
// trailing: loggedIn ? '已登录' : '登录解锁',
|
||||||
onTap: () => _showCloudBackupSheet(context, loggedIn),
|
// onTap: () => _showCloudBackupSheet(context, loggedIn),
|
||||||
),
|
// ),
|
||||||
const PrototypeDivider(margin: EdgeInsets.zero),
|
// ],
|
||||||
_SettingRow(
|
// ),
|
||||||
icon: Icons.grid_view_outlined,
|
// ),
|
||||||
title: '添加桌面小组件',
|
// const SizedBox(height: 12),
|
||||||
trailing: '占位',
|
|
||||||
onTap: () => _showWidgetSheet(context),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
),
|
|
||||||
const SizedBox(height: 12),
|
|
||||||
PrototypeCard(
|
PrototypeCard(
|
||||||
padding: EdgeInsets.zero,
|
padding: EdgeInsets.zero,
|
||||||
child: Column(
|
child: Column(
|
||||||
@@ -186,6 +179,13 @@ class ProfilePage extends ConsumerWidget {
|
|||||||
trailing: '¥ CNY',
|
trailing: '¥ CNY',
|
||||||
onTap: () => _toast(context, '当前仅支持 ¥ CNY'),
|
onTap: () => _toast(context, '当前仅支持 ¥ CNY'),
|
||||||
),
|
),
|
||||||
|
const PrototypeDivider(margin: EdgeInsets.zero),
|
||||||
|
_SettingRow(
|
||||||
|
icon: Icons.grid_view_outlined,
|
||||||
|
title: '添加桌面小组件',
|
||||||
|
trailing: '占位',
|
||||||
|
onTap: () => _showWidgetSheet(context),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -98,26 +98,25 @@ class SettingsPage extends HookConsumerWidget {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
||||||
const SizedBox(height: 22),
|
// const SizedBox(height: 22),
|
||||||
const _Section('备份'),
|
// const _Section('备份'),
|
||||||
_Card(
|
// _Card(
|
||||||
children: [
|
// children: [
|
||||||
_NavRow(
|
// _NavRow(
|
||||||
icon: FlutterRemix.download_2_line,
|
// icon: FlutterRemix.download_2_line,
|
||||||
label: '本地导出备份',
|
// label: '本地导出备份',
|
||||||
trailing: '导出',
|
// trailing: '导出',
|
||||||
onTap: () => _showLocalBackupSheet(context),
|
// onTap: () => _showLocalBackupSheet(context),
|
||||||
),
|
// ),
|
||||||
Divider(height: 1, thickness: 1, color: cs.border),
|
// Divider(height: 1, thickness: 1, color: cs.border),
|
||||||
_NavRow(
|
// _NavRow(
|
||||||
icon: FlutterRemix.cloud_line,
|
// icon: FlutterRemix.cloud_line,
|
||||||
label: '云备份',
|
// label: '云备份',
|
||||||
trailing: '占位',
|
// trailing: '占位',
|
||||||
onTap: () => _showCloudBackupSheet(context),
|
// onTap: () => _showCloudBackupSheet(context),
|
||||||
),
|
// ),
|
||||||
],
|
// ],
|
||||||
),
|
// ),
|
||||||
|
|
||||||
const SizedBox(height: 22),
|
const SizedBox(height: 22),
|
||||||
const _Section('工具'),
|
const _Section('工具'),
|
||||||
_Card(
|
_Card(
|
||||||
|
|||||||
Reference in New Issue
Block a user