Skip to content

Commit e9c5248

Browse files
committed
content
1 parent 7293b06 commit e9c5248

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ios/src/CountlyReactNative.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ - (void) populateConfig:(id) json {
174174
[config.sdkInternalLimits setMaxStackTraceLinesPerThread:[maxStackTraceLinesPerThread intValue]];
175175
}
176176
// Limits End -------------------------------------------
177-
NSNumber *setZoneTimerInterval = json[@"setZoneTimerInterval"];
178-
if (setZoneTimerInterval) {
179-
config.content.zoneTimerInterval = [setZoneTimerInterval intValue];
177+
NSNumber *timerInt = json[@"setZoneTimerInterval"];
178+
if (timerInt) {
179+
[config.content setZoneTimerInterval:[timerInt intValue]];
180180
}
181181
if(json[@"setGlobalContentCallback"]) {
182182
[config.content setGlobalContentCallback:^(ContentStatus contentStatus, NSDictionary<NSString *,id> * _Nonnull contentData) {

0 commit comments

Comments
 (0)