Refactor contact handling and enhance UI with new advert options and localized strings

This commit is contained in:
Winston Lowe committed 2026-01-28 11:04:34 -08:00
1 parent d0c8fab6fb
commit 42115bf200
5 files changed
+52 -37

No files matched your search

+4
View File
@@ -102,6 +102,10 @@ class Contact {
return parts.join(',');
}
String get shortPubKeyHex {
return "<${publicKeyHex.substring(0, 8)}...${publicKeyHex.substring(publicKeyHex.length - 8)}>";
}
Uint8List get _pathBytesForDisplay {
if (pathOverride != null) {
if (pathOverride! < 0) return Uint8List(0);