From a6bd02e78950b7cb422212364fb727e8de87590a Mon Sep 17 00:00:00 2001 From: stewen Date: Fri, 4 Aug 2023 17:33:45 +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 f117aed..9218c7f 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; }