Edit little bug

This commit is contained in:
phanhuuloi27
2022-07-06 21:16:23 +07:00
parent b721cfc40a
commit 0e29d9b423
@@ -251,11 +251,9 @@ public class OrderStatus extends AppCompatActivity {
Token token = postSnapShot.getValue(Token.class); Token token = postSnapShot.getValue(Token.class);
//Make raw payload //Make raw payload
// Notification notification = new Notification("Foodify", "Đơn của bạn " + localKey + " đã được cập nhật!");
// Sender content = new Sender(token.getToken(), notification);
Map<String, String> dataSend = new HashMap<>(); Map<String, String> dataSend = new HashMap<>();
dataSend.put("title", "EDMT Dev"); dataSend.put("title", "Foodify");
dataSend.put("message", "Đơn của bạn " + localKey + " đã được cập nhật!"); dataSend.put("message", "Đơn của bạn #" + localKey + " đã được cập nhật!");
DataMessage dataMessage = new DataMessage(token.getToken(), dataSend); DataMessage dataMessage = new DataMessage(token.getToken(), dataSend);
mService.sendNotification(dataMessage) mService.sendNotification(dataMessage)