fix expo-notifications patch

This commit is contained in:
Hailey
2024-05-28 20:03:27 -07:00
parent 1466123694
commit c043443649
+3 -3
View File
@@ -46,14 +46,14 @@ index 0af7fe0..8f2c8d8 100644
try { try {
return payload.getString(TITLE_KEY); return payload.getString(TITLE_KEY);
diff --git a/node_modules/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/model/NotificationContent.java b/node_modules/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/model/NotificationContent.java diff --git a/node_modules/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/model/NotificationContent.java b/node_modules/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/model/NotificationContent.java
index f1fed19..166b34f 100644 index f1fed19..80afe9e 100644
--- a/node_modules/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/model/NotificationContent.java --- a/node_modules/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/model/NotificationContent.java
+++ b/node_modules/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/model/NotificationContent.java +++ b/node_modules/expo-notifications/android/src/main/java/expo/modules/notifications/notifications/model/NotificationContent.java
@@ -20,6 +20,7 @@ import expo.modules.notifications.notifications.enums.NotificationPriority; @@ -20,6 +20,7 @@ import expo.modules.notifications.notifications.enums.NotificationPriority;
* should be created using {@link NotificationContent.Builder}. * should be created using {@link NotificationContent.Builder}.
*/ */
public class NotificationContent implements Parcelable, Serializable { public class NotificationContent implements Parcelable, Serializable {
+ private string mChannelId; + private String mChannelId;
private String mTitle; private String mTitle;
private String mText; private String mText;
private String mSubtitle; private String mSubtitle;
@@ -105,7 +105,7 @@ index f1fed19..166b34f 100644
} }
public static class Builder { public static class Builder {
+ private string mChannelId; + private String mChannelId;
private String mTitle; private String mTitle;
private String mText; private String mText;
private String mSubtitle; private String mSubtitle;