style(mining-app): hide accountSequence and rename phone to ID on profile page

- Remove accountSequence (ID: xxxx) display from profile page
- Rename "手机:" label to "ID:" for phone number display

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-15 03:39:18 -08:00
parent 1bdb9bb336
commit 183b2bef59
1 changed files with 6 additions and 41 deletions

View File

@ -175,48 +175,13 @@ class ProfilePage extends ConsumerWidget {
],
),
const SizedBox(height: 8),
Row(
children: [
Text(
'ID: ${user.accountSequence ?? '--------'}',
style: const TextStyle(
fontSize: 14,
color: _grayText,
),
),
const SizedBox(width: 8),
GestureDetector(
onTap: () {
if (user.accountSequence != null) {
Clipboard.setData(
ClipboardData(text: user.accountSequence!),
);
ScaffoldMessenger.of(context).showSnackBar(
const SnackBar(
content: Text('ID已复制'),
duration: Duration(seconds: 1),
),
);
}
},
child: const Icon(
Icons.copy,
size: 16,
color: _grayText,
),
),
],
),
//
// ID
if (user.phone != null)
Padding(
padding: const EdgeInsets.only(top: 4),
child: Text(
'手机: ${user.phone}',
style: const TextStyle(
fontSize: 12,
color: _lightGray,
),
Text(
'ID: ${user.phone}',
style: const TextStyle(
fontSize: 14,
color: _grayText,
),
),
],