Skip to content
Permalink
Browse files

Bug: remove unused declaration

  • Loading branch information
skryl committed Mar 7, 2020
1 parent 3de6f7b commit 5b79f7275e46391681127128e9ee1053e4267532
Showing with 2 additions and 3 deletions.
  1. +2 −3 RCTAppleHealthKit/RCTAppleHealthKit+Queries.m
@@ -84,8 +84,7 @@ - (void)fetchQuantitySamplesOfType:(HKQuantityType *)quantityType

NSString *startDateString = [RCTAppleHealthKit buildISO8601StringFromDate:sample.startDate];
NSString *endDateString = [RCTAppleHealthKit buildISO8601StringFromDate:sample.endDate];
NSString *activityName = [numberToWorkoutNameDictionary objectForKey: activityNumber];

This comment has been minimized.

Copy link
@skryl

skryl Mar 7, 2020

Author

@sunnyqin this line was causing a build error, it should be removed right?



NSDictionary *elem = @{
@"value" : @(value),
@"sourceName" : [[[sample sourceRevision] source] name],
@@ -679,7 +678,7 @@ - (void)fetchWorkoutForPredicate: (NSPredicate *)predicate
NSNumber *activityNumber = [NSNumber numberWithInt: [sample workoutActivityType]];

NSString *activityName = [numberToWorkoutNameDictionary objectForKey: activityNumber];

if (activityName) {
NSDictionary *elem = @{
@"activityName" : activityName,

0 comments on commit 5b79f72

Please sign in to comment.
You can’t perform that action at this time.