From aab7f1ffafad3aab8ca640db9e745837d78a9237 Mon Sep 17 00:00:00 2001 From: Simon Rice Date: Thu, 19 Dec 2019 21:35:11 +0000 Subject: [PATCH] Make booleans consistent in SEGIntercomIntegration @YES -> YES false -> NO --- Segment-Intercom/Classes/SEGIntercomIntegration.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Segment-Intercom/Classes/SEGIntercomIntegration.m b/Segment-Intercom/Classes/SEGIntercomIntegration.m index 09d157e..4b95930 100644 --- a/Segment-Intercom/Classes/SEGIntercomIntegration.m +++ b/Segment-Intercom/Classes/SEGIntercomIntegration.m @@ -77,7 +77,7 @@ - (void)track:(SEGTrackPayload *)payload NSMutableDictionary *output = [NSMutableDictionary dictionaryWithCapacity:payload.properties.count]; NSMutableDictionary *price = [NSMutableDictionary dictionaryWithCapacity:0]; - __block BOOL isAmountSet = false; + __block BOOL isAmountSet = NO; [payload.properties enumerateKeysAndObjectsUsingBlock:^(id key, id data, BOOL *stop) { [output setObject:data forKey:key]; @@ -88,7 +88,7 @@ - (void)track:(SEGTrackPayload *)payload [price setObject:finalAmount forKey:@"amount"]; [output removeObjectForKey:key]; - isAmountSet = @YES; + isAmountSet = YES; } if ([key isEqual:@"currency"]) {