Actualizacion del programa

This commit is contained in:
2026-05-23 01:40:39 -06:00
parent 458af32fcf
commit c6a1a67469
132 changed files with 11009 additions and 168 deletions

View File

@@ -143,6 +143,11 @@ class RouteSimulatorService extends ChangeNotifier {
final n = AppNotification(event:event, title:title, body:body, routeId:routeId);
_lastNotification = n;
_history.insert(0, n);
// Persistir en DB para historial
DbHelper.insertNotifHistory(
routeId: routeId, eventType: event.name,
title: title, body: body,
).catchError((_) {});
notifyListeners();
}