fix:多余的屏蔽
This commit is contained in:
@@ -29,7 +29,7 @@ class ProfilePage extends ConsumerWidget {
|
||||
return SafeArea(
|
||||
top: false,
|
||||
child: ListView(
|
||||
padding: const EdgeInsets.fromLTRB(0, 8, 0, 86),
|
||||
padding: const EdgeInsets.fromLTRB(0, 8, 0, 20),
|
||||
children: [
|
||||
PrototypeFrame(
|
||||
child: Column(
|
||||
@@ -169,7 +169,7 @@ class ProfilePage extends ConsumerWidget {
|
||||
ref
|
||||
.read(profileSettingsControllerProvider.notifier)
|
||||
.setPriceColorMode(nextMode);
|
||||
_toast(context, '已切换为「${nextMode.label}」');
|
||||
toastInfo(msg: '已切换为「${nextMode.label}」');
|
||||
},
|
||||
),
|
||||
const PrototypeDivider(margin: EdgeInsets.zero),
|
||||
@@ -177,7 +177,7 @@ class ProfilePage extends ConsumerWidget {
|
||||
icon: Icons.currency_yen_outlined,
|
||||
title: '显示币种',
|
||||
trailing: '¥ CNY',
|
||||
onTap: () => _toast(context, '当前仅支持 ¥ CNY'),
|
||||
onTap: () => toastInfo(msg: '当前仅支持 ¥ CNY'),
|
||||
),
|
||||
const PrototypeDivider(margin: EdgeInsets.zero),
|
||||
SettingRow(
|
||||
@@ -219,13 +219,13 @@ class ProfilePage extends ConsumerWidget {
|
||||
trailing: null,
|
||||
onTap: () => _showDisclaimer(context),
|
||||
),
|
||||
const PrototypeDivider(margin: EdgeInsets.zero),
|
||||
SettingRow(
|
||||
icon: Icons.feedback_outlined,
|
||||
title: '意见反馈 · 关于金值',
|
||||
trailing: null,
|
||||
onTap: () => _showAbout(context),
|
||||
),
|
||||
// const PrototypeDivider(margin: EdgeInsets.zero),
|
||||
// SettingRow(
|
||||
// icon: Icons.feedback_outlined,
|
||||
// title: '意见反馈 · 关于金值',
|
||||
// trailing: null,
|
||||
// onTap: () => _showAbout(context),
|
||||
// ),
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -297,10 +297,6 @@ class ProfilePage extends ConsumerWidget {
|
||||
}
|
||||
}
|
||||
|
||||
void _toast(BuildContext context, String message) {
|
||||
toastInfo(msg: message);
|
||||
}
|
||||
|
||||
class _MenuRow extends StatelessWidget {
|
||||
const _MenuRow({
|
||||
required this.title,
|
||||
|
||||
Reference in New Issue
Block a user