Smoth screen changes. Step 1
This commit is contained in:
@@ -18,10 +18,7 @@ class FinishRegistrationScreen extends BaseScreen {
|
||||
|
||||
class RegistrationScreenState extends BaseState<FinishRegistrationScreen> {
|
||||
|
||||
RegistrationScreenState(SqliteHelper helper, String app) {
|
||||
this.helper = helper;
|
||||
this.app = app;
|
||||
}
|
||||
RegistrationScreenState(SqliteHelper helper, String app) : super(helper, app);
|
||||
|
||||
bool _tokenActive = false;
|
||||
String _merchantID = '';
|
||||
@@ -62,7 +59,7 @@ class RegistrationScreenState extends BaseState<FinishRegistrationScreen> {
|
||||
handleTap() async {
|
||||
if (_tokenActive) {
|
||||
Navigator.of(context).pop();
|
||||
startScanner(context, app, helper);
|
||||
// FIXME: startScanner(context, app, helper);
|
||||
} else {
|
||||
if (await platform.invokeMethod('isOnline')) {
|
||||
String token = await helper.getToken();
|
||||
|
||||
Reference in New Issue
Block a user