Skip to content

Commit 739ad30

Browse files
committed
Rename RNSentryStart instance for clarity
1 parent 903fc55 commit 739ad30

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/android/src/main/java/io/sentry/react/RNSentryModuleImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ public class RNSentryModuleImpl {
117117

118118
private final @NotNull SentryDateProvider dateProvider;
119119

120-
private final @NotNull RNSentryStart sdk;
120+
private final @NotNull RNSentryStart startSdk;
121121

122122
public RNSentryModuleImpl(ReactApplicationContext reactApplicationContext) {
123123
packageInfo = getPackageInfo(reactApplicationContext);
124124
this.reactApplicationContext = reactApplicationContext;
125125
this.emitNewFrameEvent = createEmitNewFrameEvent();
126126
this.dateProvider = new SentryAndroidDateProvider();
127-
this.sdk = new RNSentryStart();
127+
this.startSdk = new RNSentryStart();
128128
}
129129

130130
private ReactApplicationContext getReactApplicationContext() {
@@ -165,7 +165,7 @@ public void initNativeReactNavigationNewFrameTracking(Promise promise) {
165165
}
166166

167167
public void initNativeSdk(final ReadableMap rnOptions, Promise promise) {
168-
sdk.startWithOptions(
168+
startSdk.startWithOptions(
169169
this.getReactApplicationContext(), rnOptions, getCurrentActivity(), logger);
170170

171171
promise.resolve(true);

0 commit comments

Comments
 (0)