Fix channel refresh telemetry how

This commit is contained in:
Janez T
2026-03-15 21:00:02 +01:00
parent 991421d097
commit 2bb5b353bd
3 changed files with 26 additions and 12 deletions

View File

@@ -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(