@@ -69,9 +69,9 @@ static IterableInAppHandler.InAppResponse getInAppResponse(@Nullable Integer inA
69
69
static List <CommerceItem > commerceItemsFromReadableArray (ReadableArray array ) {
70
70
ArrayList <CommerceItem > list = new ArrayList <>();
71
71
try {
72
- JSONArray commerceItemJsonarray = convertArrayToJson (array );
73
- for (int i = 0 ; i < commerceItemJsonarray .length (); i ++) {
74
- JSONObject item = commerceItemJsonarray .getJSONObject (i );
72
+ JSONArray commerceItemJsonArray = convertArrayToJson (array );
73
+ for (int i = 0 ; i < commerceItemJsonArray .length (); i ++) {
74
+ JSONObject item = commerceItemJsonArray .getJSONObject (i );
75
75
list .add (commerceItemFromMap (item ));
76
76
}
77
77
} catch (JSONException e ) {
@@ -106,13 +106,13 @@ static JSONObject messageContentToJsonObject(IterableInAppMessage.Content conten
106
106
return messageContent ;
107
107
}
108
108
109
- static JSONArray serializeInAppMessages (List <IterableInAppMessage > inappMessages ) {
110
- JSONArray inappMessagesJson = new JSONArray ();
111
- for (IterableInAppMessage message : inappMessages ) {
109
+ static JSONArray serializeInAppMessages (List <IterableInAppMessage > inAppMessages ) {
110
+ JSONArray inAppMessagesJson = new JSONArray ();
111
+ for (IterableInAppMessage message : inAppMessages ) {
112
112
JSONObject messageJson = RNIterableInternal .getInAppMessageJson (message );
113
- inappMessagesJson .put (messageJson );
113
+ inAppMessagesJson .put (messageJson );
114
114
}
115
- return inappMessagesJson ;
115
+ return inAppMessagesJson ;
116
116
}
117
117
118
118
static IterableConfig .Builder getConfigFromReadableMap (ReadableMap iterableContextMap ) {
0 commit comments