bug fix 1.0 (android logo, old device, firstname, exercise save)
This commit is contained in:
@@ -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),
|
||||
]),
|
||||
|
||||
@@ -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)
|
||||
)
|
||||
)
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user