bug fix 1.0 (android logo, old device, firstname, exercise save)

This commit is contained in:
Bossanyi Tibor
2020-07-09 14:08:14 +02:00
parent dfe20685d7
commit 9b1d867826
11 changed files with 132 additions and 17 deletions
+1
View File
@@ -43,6 +43,7 @@ class Auth {
Customer userLoggedIn;
bool firstLoad = true;
List<ExerciseType> _exerciseTypes;
List deviceLanguages;
factory Auth() {
return _singleton;
+4 -4
View File
@@ -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,