Экраны настроек

This commit is contained in:
Ivan Murashov
2017-09-11 14:51:50 +03:00
parent 0dde204dcd
commit 24fdfc15f6
21 changed files with 148 additions and 98 deletions

View File

@@ -9,7 +9,7 @@ import 'package:checker/network.dart';
import 'package:checker/consts.dart';
import 'package:checker/resources.dart';
import 'package:checker/db.dart';
import 'package:checker/base_state.dart';
import 'package:checker/base/base_state.dart';
import 'package:checker/screens/registration.dart';
import 'package:checker/screens/finish_registration.dart';
@@ -27,6 +27,7 @@ class _SplashScreenState extends BaseState<SplashScreen> {
helper.getSettings().then((info) {
if (info == null) {
platform.invokeMethod('getLocale').then((locale) {
Intl.defaultLocale = locale;
platform.invokeMethod('getCurrency').then((currency) {
helper.createAppInfo(locale, currency).then((_) {
showNext();