Skip to content

Commit b1377f0

Browse files
committed
Fix bugs
1 parent f80f23e commit b1377f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

android/src/io/jchat/android/JMessageModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1502,7 +1502,7 @@ public void forwardMessage(ReadableMap map, final Callback success, final Callba
15021502
options.setCustomNotificationEnabled(optionMap.getBoolean("isCustomNotificationEnabled"));
15031503
}
15041504
if (optionMap.hasKey("notificationTitle")) {
1505-
options.setNotificationText(optionMap.getString("notificationTitle"));
1505+
options.setNotificationTitle(optionMap.getString("notificationTitle"));
15061506
}
15071507
if (optionMap.hasKey("notificationText")) {
15081508
options.setNotificationText(optionMap.getString("notificationText"));

android/src/io/jchat/android/utils/JMessageUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public void gotResult(int status, String desc) {
8282
optionMap.getBoolean("isCustomNotificationEnabled"));
8383
}
8484
if (optionMap.hasKey("notificationTitle")) {
85-
options.setNotificationText(optionMap.getString("notificationTitle"));
85+
options.setNotificationTitle(optionMap.getString("notificationTitle"));
8686
}
8787
if (optionMap.hasKey("notificationText")) {
8888
options.setNotificationText(optionMap.getString("notificationText"));

0 commit comments

Comments
 (0)