bug fix 1.0 (android logo, old device, firstname, exercise save)
This commit is contained in:
@@ -43,6 +43,7 @@ class Auth {
|
||||
Customer userLoggedIn;
|
||||
bool firstLoad = true;
|
||||
List<ExerciseType> _exerciseTypes;
|
||||
List deviceLanguages;
|
||||
|
||||
factory Auth() {
|
||||
return _singleton;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
class Customer {
|
||||
String name;
|
||||
String email;
|
||||
String firstName;
|
||||
String firstname;
|
||||
String sex;
|
||||
int age;
|
||||
String active;
|
||||
@@ -18,7 +18,7 @@ class Customer {
|
||||
|
||||
Customer({this.customerId,
|
||||
this.name,
|
||||
this.firstName,
|
||||
this.firstname,
|
||||
this.email,
|
||||
this.sex,
|
||||
this.age,
|
||||
@@ -36,7 +36,7 @@ class Customer {
|
||||
Customer.fromJson(Map json) {
|
||||
this.customerId = json['customerId'];
|
||||
this.name = json['name'];
|
||||
this.firstName = json['firstname'];
|
||||
this.firstname = json['firstname'];
|
||||
this.email = json['email'];
|
||||
this.sex = json['sex'];
|
||||
this.age = json['age'];
|
||||
@@ -52,7 +52,7 @@ class Customer {
|
||||
Map<String, dynamic> toJson() =>
|
||||
{
|
||||
"name": name,
|
||||
"firstName": firstName,
|
||||
"firstname": firstname,
|
||||
"email": email,
|
||||
"age": age,
|
||||
"sex": sex,
|
||||
|
||||
Reference in New Issue
Block a user