Skip to content

Commit 7368831

Browse files
committed
Sintax error fixes
Add some missed comma
1 parent a8b013a commit 7368831

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

android/src/main/java/com/lesimoes/androidnotificationlistener/RNAndroidNotificationListener.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public void onNotificationPosted(StatusBarNotification sbn) {
2222

2323
if (app == null) app = "Unknown";
2424

25-
CharSequence titleChars = notification.extras.getCharSequence(Notification.EXTRA_TITLE)
26-
CharSequence textChars = notification.extras.getCharSequence(Notification.EXTRA_TEXT)
25+
CharSequence titleChars = notification.extras.getCharSequence(Notification.EXTRA_TITLE);
26+
CharSequence textChars = notification.extras.getCharSequence(Notification.EXTRA_TEXT);
2727

2828
if (titleChars == null || textChars == null) return;
2929

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-android-notification-listener",
33
"title": "React Native Android Notification Listener",
4-
"version": "1.0.3",
4+
"version": "1.0.4",
55
"description": "React Native Android Notification Listener - Listen for status bar notifications from all applications",
66
"main": "index.js",
77
"scripts": {

0 commit comments

Comments
 (0)