fix error

phiz
stewen 2023-08-04 17:33:45 +08:00
parent 366f8ab9ac
commit a6bd02e789
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}