mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
Fix channel refresh telemetry how
This commit is contained in:
@@ -1257,6 +1257,10 @@ class ConnectionProvider with ChangeNotifier {
|
||||
channelName: channelName,
|
||||
secret: secretBytes,
|
||||
);
|
||||
|
||||
// Reconcile local state from the device after the write completes,
|
||||
// matching the delete flow so channel/contact lists refresh immediately.
|
||||
await _activeService.getChannel(slotIdx);
|
||||
} catch (e) {
|
||||
if (_isChannelRefreshTimeoutError(e)) {
|
||||
debugPrint(
|
||||
|
||||
@@ -875,7 +875,7 @@ class ContactsProvider with ChangeNotifier {
|
||||
telemetry.gpsLocation,
|
||||
)) {
|
||||
debugPrint(
|
||||
' ⚠️ Retaining last valid GPS. Incoming telemetry GPS is invalid/missing: $incomingGps',
|
||||
' ⚠️ Incoming telemetry GPS is invalid/missing; keeping last known contact location as fallback: $incomingGps',
|
||||
);
|
||||
}
|
||||
telemetry = ContactTelemetry(
|
||||
|
||||
Reference in New Issue
Block a user