Переключение валют

This commit is contained in:
Ivan Murashov
2017-09-11 19:15:08 +03:00
parent bc092ca8f9
commit 9e4cbe200d
7 changed files with 56 additions and 18 deletions

View File

@@ -28,9 +28,11 @@ class _SplashScreenState extends BaseState<SplashScreen> {
if (info == null) {
platform.invokeMethod('getLocale').then((locale) {
Intl.defaultLocale = locale;
platform.invokeMethod('getCurrency').then((currency) {
helper.createAppInfo(locale, currency).then((_) {
showNext();
StringsLocalization.load(locale).then((l) {
platform.invokeMethod('getCurrency').then((currency) {
helper.createAppInfo(locale, currency).then((_) {
showNext();
});
});
});
});