mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-07-25 10:09:04 +10:00
Refactor contact handling and enhance UI with new advert options and localized strings
This commit is contained in:
@@ -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