fix tile style

This commit is contained in:
rustdesk 2022-09-23 23:04:34 +08:00
parent 98a84a577b
commit 18ee6f0e9d

View File

@ -164,11 +164,9 @@ class _PeerCardState extends State<_PeerCard>
Expanded( Expanded(
child: Text( child: Text(
alias.isEmpty ? formatID(peer.id) : alias, alias.isEmpty ? formatID(peer.id) : alias,
style:
const TextStyle(fontWeight: FontWeight.w400),
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
)), )),
]), ]).marginOnly(bottom: 2),
Align( Align(
alignment: Alignment.centerLeft, alignment: Alignment.centerLeft,
child: Text( child: Text(
@ -179,7 +177,7 @@ class _PeerCardState extends State<_PeerCard>
), ),
), ),
], ],
), ).marginOnly(top: 2),
), ),
_actionMore(peer), _actionMore(peer),
], ],