fix error
parent
366f8ab9ac
commit
a6bd02e789
|
@ -144,8 +144,8 @@ static MopPlugin *_instance;
|
||||||
}
|
}
|
||||||
else if ([@"updateLanguage" isEqualToString:call.method]) {
|
else if ([@"updateLanguage" isEqualToString:call.method]) {
|
||||||
NSLog(@"updateLanguage");
|
NSLog(@"updateLanguage");
|
||||||
NSString cCode = call.arguments[@"countryCode"];
|
NSString *cCode = call.arguments[@"countryCode"];
|
||||||
NSString cLang = call.arguments[@"languageCode"];
|
NSString *cLang = call.arguments[@"languageCode"];
|
||||||
[PhizLanguageData sharedInstance].countryCode = cCode;
|
[PhizLanguageData sharedInstance].countryCode = cCode;
|
||||||
[PhizLanguageData sharedInstance].languageCode = cLang;
|
[PhizLanguageData sharedInstance].languageCode = cLang;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue