Skip to content

Commit 30ed290

Browse files
committed
cleanup TODOs
1 parent 0a95f72 commit 30ed290

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

ios/RNSentry.mm

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,8 @@
3838
#import "RNSentryEvents.h"
3939
#import "RNSentryDependencyContainer.h"
4040

41-
#if SENTRY_HAS_UIKIT && !TARGET_OS_VISION
42-
#define SENTRY_TARGET_REPLAY_SUPPORTED 1 // TODO update after https://github.com/getsentry/sentry-cocoa/pull/4089
41+
#if SENTRY_TARGET_REPLAY_SUPPORTED
4342
#import "RNSentrySessionReplay.h"
44-
#else
45-
#define SENTRY_TARGET_REPLAY_SUPPORTED 0
4643
#endif
4744

4845
#if SENTRY_HAS_UIKIT

ios/RNSentryBreadcrumbConverter.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
@import Sentry;
22

3-
// TODO update after https://github.com/getsentry/sentry-cocoa/pull/4089
4-
#if SENTRY_HAS_UIKIT && !TARGET_OS_VISION
3+
#if SENTRY_TARGET_REPLAY_SUPPORTED
54
@class SentryRRWebEvent;
65

76
@interface RNSentryBreadcrumbConverter

ios/RNSentryBreadcrumbConverter.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
@import Sentry;
44

5-
// TODO update after https://github.com/getsentry/sentry-cocoa/pull/4089
6-
#if SENTRY_HAS_UIKIT && !TARGET_OS_VISION
5+
#if SENTRY_TARGET_REPLAY_SUPPORTED
76

87
@implementation RNSentryBreadcrumbConverter {
98
SentrySRDefaultBreadcrumbConverter *defaultConverter;

ios/RNSentrySessionReplay.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#import "RNSentrySessionReplay.h"
22
#import "RNSentryBreadcrumbConverter.h"
33

4-
// TODO update after https://github.com/getsentry/sentry-cocoa/pull/4089
5-
#if SENTRY_HAS_UIKIT && !TARGET_OS_VISION
4+
#if SENTRY_TARGET_REPLAY_SUPPORTED
65

76
@implementation RNSentrySessionReplay {
87
}

0 commit comments

Comments
 (0)