Skip to content

Commit

Permalink
style: code format
Browse files Browse the repository at this point in the history
  • Loading branch information
runner authored and runner committed Jul 3, 2023
1 parent f705491 commit f98b72d
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,9 @@ - (NSString *)getStringforKey:(NSString *)key;

- (GrowingEventSequenceObject *)getAndIncrement:(NSString *)eventType {
int increase = 0;
if ([eventType isEqualToString:@"VISIT"]
|| [eventType isEqualToString:@"PAGE"]
|| [eventType isEqualToString:@"VIEW_CLICK"]
|| [eventType isEqualToString:@"VIEW_CHANGE"]
|| [eventType isEqualToString:@"CUSTOM"]
) {
if ([eventType isEqualToString:@"VISIT"] || [eventType isEqualToString:@"PAGE"] ||
[eventType isEqualToString:@"VIEW_CLICK"] || [eventType isEqualToString:@"VIEW_CHANGE"] ||
[eventType isEqualToString:@"CUSTOM"]) {
increase = 1;
}
long long sequenceId = [self increaseFor:kGrowingUserdefault_sequenceId spanValue:increase];
Expand Down

0 comments on commit f98b72d

Please sign in to comment.