Refactor contact handling and enhance UI with new advert options and localized strings
This commit is contained in:
1 parent
d0c8fab6fb
commit
42115bf200
5 files changed
+52
-37
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user