Commit e4957dc 1 parent 486690d commit e4957dc Copy full SHA for e4957dc
File tree 4 files changed +7
-11
lines changed
4 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,7 @@ import 'package:ReachUp/Controller/Category.controller.dart';
3
3
import 'package:ReachUp/Controller/ClientPreference.controller.dart' ;
4
4
import 'package:ReachUp/Model/Category.model.dart' ;
5
5
import 'package:ReachUp/Model/ClientPreference.model.dart' ;
6
- import 'package:ReachUp/Model/SubCategoryLocal.mode.dart' ;
7
6
import 'package:ReachUp/Model/Subcategory.model.dart' ;
8
- import 'package:ReachUp/Repositories/ClientPreference.repository.dart' ;
9
7
import 'package:ReachUp/View/SignView/CategoryStoreCard.view.dart' ;
10
8
import 'package:ReachUp/globals.dart' ;
11
9
import 'package:async/async.dart' ;
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ class StepperBody extends StatefulWidget {
102
102
103
103
class _StepperBodyState extends State <StepperBody > {
104
104
final CategoryController _categoryController = new CategoryController ();
105
- final AccountController accountController = new AccountController ();
105
+ // final AccountController accountController = new AccountController();
106
106
107
107
static final _focusNode = FocusNode ();
108
108
static UserData user = UserData ();
@@ -120,11 +120,11 @@ class _StepperBodyState extends State<StepperBody> {
120
120
});
121
121
}
122
122
123
- @override
123
+ /* @override
124
124
void deactivate() {
125
125
EasyLoading.dismiss();
126
126
super.deactivate();
127
- }
127
+ }*/
128
128
129
129
List <Step > steps = [
130
130
Step (
@@ -314,13 +314,13 @@ class _StepperBodyState extends State<StepperBody> {
314
314
email: user.email,
315
315
password: user.password,
316
316
role: "cli" );
317
- EasyLoading .show (status: "Carregando" );
317
+ /* EasyLoading.show(status: "Carregando");
318
318
accountController.signUp().then((value) {
319
319
EasyLoading.dismiss();
320
320
Globals.user = value;
321
321
Database.insert(
322
322
key: "user", value: jsonEncode(Globals.user.toJson()));
323
- });
323
+ });*/
324
324
325
325
List <Category > categories = new List <Category >();
326
326
Original file line number Diff line number Diff line change @@ -25,9 +25,6 @@ class _SignUpPreferencesViewState extends State<SignUpPreferencesView> {
25
25
26
26
@override
27
27
initState () {
28
- // _categoryController.getAll().then((value) => () {
29
- // categories = value;
30
- // });
31
28
super .initState ();
32
29
_memoizer = AsyncMemoizer ();
33
30
}
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ class Globals {
16
16
static User user = new User ();
17
17
static bool isLoggedIn = false ;
18
18
static String urlAPI = 'https://reachup-poc.azurewebsites.net/api' ;
19
+ //static String urlAPI = 'https://localhost:5001/api';
19
20
20
21
static List <Beacon > beacons = < Beacon > [];
21
22
static List <CommuniqueSubCategory > communiqueSubCategories =
@@ -43,7 +44,7 @@ class Globals {
43
44
}
44
45
45
46
class VersionConfig {
46
- static bool isCommerceVersion = true ;
47
+ static bool isCommerceVersion = false ;
47
48
48
49
// static bool isCommerceVersion() {
49
50
// parseJsonFromAssets('assets/config/global/config-global.json')
You can’t perform that action at this time.
0 commit comments