mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-04-20 22:13:48 +00:00
Update lib/models/contact.dart
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
3f80ae1cf7
commit
152d5f8bb5
1 changed files with 1 additions and 0 deletions
|
|
@ -160,6 +160,7 @@ class Contact {
|
|||
}
|
||||
|
||||
static Contact? fromFrame(Uint8List data) {
|
||||
if (data.isEmpty) return null;
|
||||
if (data[0] != respCodeContact) return null;
|
||||
try {
|
||||
final pubKey = Uint8List.fromList(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue