Skip to content

Commit 908ac05

Browse files
committed
fix: typo with logout in ios method invoke channel
1 parent df20a50 commit 908ac05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/Classes/OneSignalPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
7777
[self initialize:call withResult:result];
7878
else if ([@"OneSignal#login" isEqualToString:call.method])
7979
[self login:call withResult:result];
80-
else if ([@"OneSignal#login" isEqualToString:call.method])
80+
else if ([@"OneSignal#logout" isEqualToString:call.method])
8181
[self logout:call withResult:result];
8282
else if ([@"OneSignal#consentRequired" isEqualToString:call.method])
8383
[self setConsentRequired:call withResult:result];

0 commit comments

Comments
 (0)