Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
getsentry-bot committed Jul 6, 2022
1 parent d26e282 commit 61ddb40
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Sources/Sentry/Public/SentryScreenFrames.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ SENTRY_NO_INIT
frozen:(NSUInteger)frozen
slow:(NSUInteger)slow
frameTimestamps:(SentryFrameInfoTimeSeries *)frameTimestamps
frameRateTimestamps:(SentryFrameInfoTimeSeries *)frameRateTimestamps;
frameRateTimestamps:(SentryFrameInfoTimeSeries *)frameRateTimestamps;
# endif // SENTRY_TARGET_PROFILING_SUPPORTED

@property (nonatomic, assign, readonly) NSUInteger total;
Expand Down
2 changes: 1 addition & 1 deletion Sources/Sentry/SentryFramesTracker.m
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ - (SentryScreenFrames *)currentFrames
frozen:frozen
slow:slow
frameTimestamps:self.frameTimestamps
frameRateTimestamps:self.frameRateTimestamps];
frameRateTimestamps:self.frameRateTimestamps];
# else
return [[SentryScreenFrames alloc] initWithTotal:total frozen:frozen slow:slow];
# endif // SENTRY_TARGET_PROFILING_SUPPORTED
Expand Down
4 changes: 2 additions & 2 deletions Sources/Sentry/SentryScreenFrames.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ - (instancetype)initWithTotal:(NSUInteger)total frozen:(NSUInteger)frozen slow:(
frozen:frozen
slow:slow
frameTimestamps:@[]
frameRateTimestamps:@[]];
frameRateTimestamps:@[]];
# else
if (self = [super init]) {
_total = total;
Expand All @@ -28,7 +28,7 @@ - (instancetype)initWithTotal:(NSUInteger)total
frozen:(NSUInteger)frozen
slow:(NSUInteger)slow
frameTimestamps:(SentryFrameInfoTimeSeries *)frameTimestamps
frameRateTimestamps:(SentryFrameInfoTimeSeries *)frameRateTimestamps
frameRateTimestamps:(SentryFrameInfoTimeSeries *)frameRateTimestamps
{
if (self = [super init]) {
_total = total;
Expand Down
4 changes: 2 additions & 2 deletions Sources/Sentry/SentryTracer.m
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,9 @@ - (void)finishInternal
}
profiler = nil;
}
#if SENTRY_HAS_UIKIT
# if SENTRY_HAS_UIKIT
[SentryFramesTracker.sharedInstance resetProfilingTimestamps];
#endif // SENTRY_HAS_UIKIT
# endif // SENTRY_HAS_UIKIT
[profilerLock unlock];
}
#endif
Expand Down

0 comments on commit 61ddb40

Please sign in to comment.