mirror of
https://github.com/Nezumi-2711/PRM392.git
synced 2026-09-22 13:48:29 +00:00
Edit little bug
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user