Исправления на экране сканера
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user