show id if alias exists
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
This commit is contained in:
parent
cfc0925e75
commit
f4b0b39beb
@ -457,6 +457,16 @@ class _ConnectionPageState extends State<ConnectionPage>
|
|||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
style: Theme.of(context).textTheme.titleSmall,
|
style: Theme.of(context).textTheme.titleSmall,
|
||||||
)),
|
)),
|
||||||
|
!peer.alias.isEmpty?
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(left: 5, right: 5),
|
||||||
|
child: Text(
|
||||||
|
"(${peer.id})",
|
||||||
|
style: greyStyle,
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
|
)
|
||||||
|
)
|
||||||
|
: Container(),
|
||||||
]).marginOnly(top: 2),
|
]).marginOnly(top: 2),
|
||||||
Align(
|
Align(
|
||||||
alignment: Alignment.centerLeft,
|
alignment: Alignment.centerLeft,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user