Refactor AppBarTitle widget to remove unused style parameter; update related screens to reflect changes

Improve SNR handling by adding validation for spreading factor range in snrUiFromSNR function
Update contact handling in MeshCoreConnector to fix variable naming and improve readability
Stop parsing unsupported LPP types in CayenneLpp to avoid misalignment
This commit is contained in:
Winston Lowe
2026-02-15 19:38:34 -08:00
parent 71152bd3eb
commit 52a578777d
7 changed files with 19 additions and 22 deletions
+4 -4
View File
@@ -3475,7 +3475,7 @@ class MeshCoreConnector extends ChangeNotifier {
final isNewContact = !_knownContactKeys.contains(contactKeyHex);
if (isNewContact) {
final newContect = Contact(
final newContact = Contact(
publicKey: publicKey,
name: name,
type: type,
@@ -3485,8 +3485,8 @@ class MeshCoreConnector extends ChangeNotifier {
longitude: longitude,
lastSeen: DateTime.fromMillisecondsSinceEpoch(timestamp * 1000),
);
_handleContactAdvert(newContect);
_updateDirectRepeater(newContect, snr, path);
_handleContactAdvert(newContact);
_updateDirectRepeater(newContact, snr, path);
return;
}
@@ -3546,7 +3546,7 @@ class MeshCoreConnector extends ChangeNotifier {
if (isTracked.isNotEmpty) {
final repeater = isTracked.first;
repeater.update(snr);
} else if (isTracked.isEmpty && _directRepeaters.length < 5) {
} else if (_directRepeaters.length < 5) {
_directRepeaters.add(
DirectRepeater(pubkeyFirstByte: pubkeyFirstByte, snr: snr),
);