From ef11c081826d5a2c1018b1f0eb688a8767b06048 Mon Sep 17 00:00:00 2001 From: "J. A. Messias" Date: Thu, 12 Sep 2024 13:43:47 -0300 Subject: [PATCH] WIP --- lib/backend/notifications/notification_service.dart | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/backend/notifications/notification_service.dart b/lib/backend/notifications/notification_service.dart index c5501118..d4efae7c 100644 --- a/lib/backend/notifications/notification_service.dart +++ b/lib/backend/notifications/notification_service.dart @@ -50,15 +50,13 @@ Future onMessageReceived( ), () async { log("payload: $payload"); - await answersRequest - .call( + await answersRequest( context, payload['referencia'].toString(), 'L', 'Mensagem', payload['idVisitante'].toString(), - ) - .then((value) { + ).then((value) { if (value) { context.pop(); context.pop();