@@ -69,9 +69,9 @@ static IterableInAppHandler.InAppResponse getInAppResponse(@Nullable Integer inA
6969 static List <CommerceItem > commerceItemsFromReadableArray (ReadableArray array ) {
7070 ArrayList <CommerceItem > list = new ArrayList <>();
7171 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 );
7575 list .add (commerceItemFromMap (item ));
7676 }
7777 } catch (JSONException e ) {
@@ -106,13 +106,13 @@ static JSONObject messageContentToJsonObject(IterableInAppMessage.Content conten
106106 return messageContent ;
107107 }
108108
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 ) {
112112 JSONObject messageJson = RNIterableInternal .getInAppMessageJson (message );
113- inappMessagesJson .put (messageJson );
113+ inAppMessagesJson .put (messageJson );
114114 }
115- return inappMessagesJson ;
115+ return inAppMessagesJson ;
116116 }
117117
118118 static IterableConfig .Builder getConfigFromReadableMap (ReadableMap iterableContextMap ) {
0 commit comments