Исправления на экране сканера

This commit is contained in:
Ivan Murashov
2017-07-27 13:35:27 +03:00
parent d0b5b17334
commit 303f3e2ff3
12 changed files with 165 additions and 56 deletions

View File

@@ -81,9 +81,9 @@ class SplashScreen extends StatelessWidget {
if (response.statusCode == 409) {
pushRoute(context, new FinishRegistrationScreen());
} else {
deleteToken(token).then((response) async {
deleteToken(token).then((response) {
print(response.body);
await platform.invokeMethod('removeKeys');
platform.invokeMethod('removeKeys');
Navigator.of(context).pop(); // Убираем текущий route
pushRoute(context, new RegistrationScreen()); // Запускаем регистрацию
}).catchError((error) {