Skip to content

Commit f03bad9

Browse files
committed
fix: type conversion
1 parent af310bb commit f03bad9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ios/RNInstabug/RNInstabug.m

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,8 @@ + (void)setCodePushVersion:(NSString *)codePushVersion {
6161
[Instabug setCodePushVersion:codePushVersion];
6262
}
6363

64-
+ (void)setOverAirVersion:(NSDictionary *)overAirVersion {
65-
IBGOverAirType service = [ArgsRegistry.overAirServices[overAirVersion[@"service"]] intValue];
66-
[Instabug setOverAirVersion:overAirVersion[@"version"] withType:service];
64+
+ (void)setOverAirVersion:(NSDictionary *)overAirVersion {
65+
[Instabug setOverAirVersion:overAirVersion[@"version"] withType:[overAirVersion[@"service"] intValue]];
6766
}
6867

6968

0 commit comments

Comments
 (0)