style(app): the profile page's link a row alone, without a Column around it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-11-03 23:21:45 +01:00
commit 3eb757c921
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -733,38 +733,33 @@ class const _ProfilePage({required final String url}) extends StatelessWidget {
final theme = Theme.of(context);
return Padding(
padding: const EdgeInsets.only(top: 8),
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
child: Row(
children: [
Row(
children: [
Expanded(
child: Text(
l10n.publicProfilePage(
url.replaceFirst(RegExp('^https?://'), ''),
),
style: theme.textTheme.bodyMedium,
maxLines: 2,
overflow: TextOverflow.ellipsis,
),
Expanded(
child: Text(
l10n.publicProfilePage(
url.replaceFirst(RegExp('^https?://'), ''),
),
// What linking back does, behind its question mark (decided
// 3 Nov 2026).
HelpButton(l10n.publicProfileVerifyHint),
IconButton(
tooltip: l10n.publicProfilePageCopy,
icon: const Icon(LucideIcons.copy, size: 18),
onPressed: () async {
final messenger = ScaffoldMessenger.of(context);
await Clipboard.setData(ClipboardData(text: url));
messenger
..hideCurrentSnackBar()
..showSnackBar(
SnackBar(content: Text(l10n.publicProfilePageCopied)),
);
},
),
],
style: theme.textTheme.bodyMedium,
maxLines: 2,
overflow: TextOverflow.ellipsis,
),
),
// What linking back does, behind its question mark (decided
// 3 Nov 2026).
HelpButton(l10n.publicProfileVerifyHint),
IconButton(
tooltip: l10n.publicProfilePageCopy,
icon: const Icon(LucideIcons.copy, size: 18),
onPressed: () async {
final messenger = ScaffoldMessenger.of(context);
await Clipboard.setData(ClipboardData(text: url));
messenger
..hideCurrentSnackBar()
..showSnackBar(
SnackBar(content: Text(l10n.publicProfilePageCopied)),
);
},
),
],
),