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 -1
View File
@@ -77,7 +77,7 @@ class _AccountPagePageState extends State<AccountPage> {
children: [
Text(_loggedIn ? Auth().userLoggedIn.email + " " +
Auth().userLoggedIn.name + " " +
Auth().userLoggedIn.firstName : "",
Auth().userLoggedIn.firstname : "",
style: TextStyle(color: Colors.blue)),
Icon(Icons.arrow_forward_ios),
]),
+1 -1
View File
@@ -163,7 +163,7 @@ class _CustomerModifyPageState extends State<CustomerModifyPage> {
labelText: AppLocalizations.of(context).translate('First Name'),
),
keyboardType: TextInputType.emailAddress,
initialValue: customerChangeModel.customer.customer.firstName,
initialValue: customerChangeModel.customer.customer.firstname,
onFieldSubmitted: (input) => customerChangeModel.customer.setFirstName(input)
)
)
+3 -3
View File
@@ -30,7 +30,7 @@ class _ExerciseNewPageState extends State {
model.exerciseViewModel.createNew();
customerName = model != null && model.customer != null
? model.customer.name + " " +
model.customer.firstName
model.customer.firstname
: "Please select a customer";
exerciseName = model != null &&
@@ -157,7 +157,7 @@ class _ExerciseNewPageState extends State {
inputFormatters: [
WhitelistingTextInputFormatter(RegExp(r"[\d.]"))
],
onFieldSubmitted: (input) => {
onChanged: (input) => {
print ("UnitQuantity value $input"),
model.exerciseViewModel.setUnitQuantity(
double.parse(input))
@@ -193,7 +193,7 @@ class _ExerciseNewPageState extends State {
inputFormatters: [
WhitelistingTextInputFormatter(RegExp(r"[\d.]"))
],
onFieldSubmitted: (input) =>
onChanged: (input) =>
{
print ("Quantity value $input"),
model.exerciseViewModel.setQuantity(