fix id style and connect black theme text color

This commit is contained in:
rustdesk
2022-09-27 19:42:05 +08:00
parent 0eaa7d167e
commit 5e26d96a56
4 changed files with 11 additions and 6 deletions

View File

@@ -169,6 +169,7 @@ class _PeerCardState extends State<_PeerCard>
child: Text(
alias.isEmpty ? formatID(peer.id) : alias,
overflow: TextOverflow.ellipsis,
style: Theme.of(context).textTheme.titleSmall,
)),
]).marginOnly(bottom: 2),
Align(
@@ -261,6 +262,7 @@ class _PeerCardState extends State<_PeerCard>
child: Text(
peer.alias.isEmpty ? formatID(peer.id) : peer.alias,
overflow: TextOverflow.ellipsis,
style: Theme.of(context).textTheme.titleSmall,
)),
]).paddingSymmetric(vertical: 8)),
_actionMore(peer),