Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 6846fd4

Browse files
author
Blake Peterman
committed
Fix tabs
1 parent 5645bbe commit 6846fd4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

platforms/android/libraryproject/firebase/src/main/java/org/nativescript/plugins/firebase/MyFirebaseMessagingService.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ public class MyFirebaseMessagingService extends FirebaseMessagingService {
1717
public void onMessageReceived(RemoteMessage remoteMessage) {
1818
try {
1919
final JSONObject json = new JSONObject()
20-
.put("foreground", true)
21-
.put("from", remoteMessage.getFrom());
20+
.put("foreground", true)
21+
.put("from", remoteMessage.getFrom());
2222

2323
final RemoteMessage.Notification not = remoteMessage.getNotification();
2424
if (not != null) {
2525
json.put("title", not.getTitle())
26-
.put("body", not.getBody());
26+
.put("body", not.getBody());
2727
}
2828

2929
final Map<String, String> data = remoteMessage.getData();
@@ -64,4 +64,4 @@ private void sendNotification(String messageBody) {
6464
}
6565
*/
6666

67-
}
67+
}

0 commit comments

Comments
 (0)