From 366f8ab9ace915ee6bda9d9c05907df3647cef0f Mon Sep 17 00:00:00 2001 From: stewen Date: Fri, 4 Aug 2023 17:30:34 +0800 Subject: [PATCH] fix error --- ios/Classes/MopPlugin.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/Classes/MopPlugin.m b/ios/Classes/MopPlugin.m index 3578d98..f117aed 100644 --- a/ios/Classes/MopPlugin.m +++ b/ios/Classes/MopPlugin.m @@ -144,8 +144,8 @@ static MopPlugin *_instance; } else if ([@"updateLanguage" isEqualToString:call.method]) { NSLog(@"updateLanguage"); - NSString cCode = call.arguments[@"countryCode"]]; - NSString cLang = call.arguments[@"languageCode"]]; + NSString cCode = call.arguments[@"countryCode"]; + NSString cLang = call.arguments[@"languageCode"]; [PhizLanguageData sharedInstance].countryCode = cCode; [PhizLanguageData sharedInstance].languageCode = cLang; }