Skip to content

Commit dbfb104

Browse files
committed
📝 changed variable names for readability
1 parent bc7191f commit dbfb104

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ios/Classes/InstabugFlutterPlugin.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
5656
* the SDK's UI.
5757
*/
5858
+ (void)startWithToken:(NSString *)token invocationEvents:(NSArray*)invocationEventsArray {
59-
NSDictionary *invocationEventsMap = [self constants];
59+
NSDictionary *constants = [self constants];
6060
NSInteger invocationEvents = IBGInvocationEventNone;
6161
for (NSString * invocationEvent in invocationEventsArray) {
62-
invocationEvents |= ((NSNumber *) invocationEventsMap[invocationEvent]).integerValue;
62+
invocationEvents |= ((NSNumber *) constants[invocationEvent]).integerValue;
6363
}
6464
[Instabug startWithToken:token invocationEvents:invocationEvents];
6565
}

0 commit comments

Comments
 (0)