From 0958cee5f4d4ef83bc7ce2c5e5b34797acc102ad Mon Sep 17 00:00:00 2001 From: Jonatas Antunes Messias Date: Thu, 20 Jun 2024 11:21:07 -0300 Subject: [PATCH] Refactor pushNotificationService.dart to use clearer variable names --- .../push_notification/pushNotificationService.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/backend/push_notification/pushNotificationService.dart b/lib/backend/push_notification/pushNotificationService.dart index 720e2089..bf9692e3 100644 --- a/lib/backend/push_notification/pushNotificationService.dart +++ b/lib/backend/push_notification/pushNotificationService.dart @@ -292,10 +292,10 @@ class NotificationHandler { return Dialog( backgroundColor: Colors.transparent, child: VisitRequestTemplateComponentWidget( - name: message['nomevisita'] ?? 'Unknown', - reason: message['motivo'] ?? 'Unknown', - message: message['mensagem'] ?? 'Unknown', - document: message['documento'] ?? 'Unknown', + vteName: message['nomevisita'] ?? 'Unknown', + vteReason: message['motivo'] ?? 'Unknown', + vteMsg: message['mensagem'] ?? 'Unknown', + vteDocument: message['documento'] ?? 'Unknown', ), ); },