opt: member sign

This commit is contained in:
bggRGjQaUbCoE
2024-10-22 18:15:20 +08:00
parent c12700fc47
commit 3c5cc501a7

View File

@@ -369,7 +369,7 @@ class UserInfoCard extends StatelessWidget {
Padding( Padding(
padding: const EdgeInsets.only(left: 20, top: 6, right: 20), padding: const EdgeInsets.only(left: 20, top: 6, right: 20),
child: SelectableText( child: SelectableText(
card.sign!.replaceFirst(RegExp('^\n'), ''), card.sign!.trim().replaceAll(RegExp(r'\n{2,}'), '\n'),
style: const TextStyle( style: const TextStyle(
fontSize: 14, fontSize: 14,
), ),