iOS zxing scanner, iOS localization

This commit is contained in:
Ivan Murashov
2018-02-09 23:13:47 +03:00
parent 6068b7e3b2
commit 90bf053c7e
45 changed files with 348 additions and 314 deletions

View File

@@ -45,7 +45,7 @@ logout(BuildContext context, SqliteHelper helper) async {
helper.clear().then((result) {
// helper.close().then((_) {
// Navigator.of(context).pop();
Navigator.of(context).pop();
// Navigator.of(context).pop();
pushRouteReplacement(context, new SplashScreen()); // Запускаем регистрацию
// });
});
@@ -165,7 +165,7 @@ startScanner(BuildContext context, String app, SqliteHelper helper) async {
'token': token,
'url': await platform.invokeMethod('getEndpoint'),
'appToken': await platform.invokeMethod('getAppToken'),
'locale': StringsLocalization.localeCode,
'localeCode': StringsLocalization.localeCode,
'color': Resources.getPrimaryColor(app).value.toString()
});