From e36f6b7eb9b4e91e61e526bca576e161abb565a4 Mon Sep 17 00:00:00 2001 From: Winston Lowe Date: Wed, 14 Jan 2026 19:33:07 -0800 Subject: [PATCH 1/2] changed contects list to show public keys of contect --- lib/screens/contacts_screen.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/screens/contacts_screen.dart b/lib/screens/contacts_screen.dart index 3bae3dd..b9ceb84 100644 --- a/lib/screens/contacts_screen.dart +++ b/lib/screens/contacts_screen.dart @@ -759,13 +759,14 @@ class _ContactTile extends StatelessWidget { @override Widget build(BuildContext context) { + final shotPublicKey = "<${contact.publicKeyHex.substring(0, 8)}...${contact.publicKeyHex.substring(contact.publicKeyHex.length - 8)}>"; return ListTile( leading: CircleAvatar( backgroundColor: _getTypeColor(contact.type), child: _buildContactAvatar(contact), ), title: Text(contact.name), - subtitle: Text('${contact.typeLabel} • ${contact.pathLabel}'), + subtitle: Text('${contact.typeLabel} • ${contact.pathLabel} $shotPublicKey'), trailing: Column( mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.end, From dd1a73c247fbb6784d27817978d78887fea8a8f3 Mon Sep 17 00:00:00 2001 From: Winston Lowe Date: Wed, 14 Jan 2026 19:34:41 -0800 Subject: [PATCH 2/2] Repeater hub now show public key at the top --- lib/screens/repeater_hub_screen.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/screens/repeater_hub_screen.dart b/lib/screens/repeater_hub_screen.dart index 88a58fa..b6e6d3f 100644 --- a/lib/screens/repeater_hub_screen.dart +++ b/lib/screens/repeater_hub_screen.dart @@ -56,6 +56,11 @@ class RepeaterHubScreen extends StatelessWidget { style: const TextStyle(fontSize: 24, fontWeight: FontWeight.bold), ), const SizedBox(height: 8), + Text( + '<${repeater.publicKeyHex.substring(0, 8)}...${repeater.publicKeyHex.substring(repeater.publicKeyHex.length - 8)}>', + style: TextStyle(fontSize: 14, color: Colors.grey[600]), + ), + const SizedBox(height: 8), Text( repeater.pathLabel, style: TextStyle(fontSize: 14, color: Colors.grey[600]),