Compare commits

..

No commits in common. "fa7182d75eda61a9e753e5a9c0bd6be82a88801d" and "5923e8dcc5c216dd152730417dca400cdb60a0cf" have entirely different histories.

5 changed files with 7 additions and 13 deletions

View file

@ -143,12 +143,6 @@ class _ConfirmationPopupState extends State<ConfirmationPopup> {
TextButton(
onPressed: () {
widget.exitPopup(context);
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text("Enregistré: ${widget.book.title}"),
behavior: SnackBarBehavior.floating,
),
);
},
child: Text("Ok"),
),

View file

@ -243,7 +243,7 @@ class _FullyManualState extends State<_FullyManual> {
return null;
},
onSaved: (newValue) {
title = newValue?.trim();
title = newValue;
},
),
SizedBox(height: 10),
@ -259,7 +259,7 @@ class _FullyManualState extends State<_FullyManual> {
return null;
},
onSaved: (newValue) {
author = newValue?.trim();
author = newValue;
},
),
SizedBox(height: 10),

View file

@ -87,7 +87,7 @@ class _OwnerPopupState extends State<OwnerPopup> {
),
onSaved: (newValue) {
setState(() {
lastName = newValue?.trim();
lastName = newValue;
});
},
validator: (value) {
@ -105,7 +105,7 @@ class _OwnerPopupState extends State<OwnerPopup> {
),
onSaved: (newValue) {
setState(() {
firstName = newValue?.trim();
firstName = newValue;
});
},
validator: (value) {
@ -123,7 +123,7 @@ class _OwnerPopupState extends State<OwnerPopup> {
),
onSaved: (newValue) {
setState(() {
contact = newValue?.trim();
contact = newValue;
});
},
validator: (value) {

View file

@ -134,7 +134,7 @@ class _EditPopup extends State<EditPopup> {
return null;
},
onSaved: (newValue) {
name = newValue?.trim();
name = newValue;
},
),
Row(

View file

@ -61,7 +61,7 @@ class _CreateConfirmationPopupState extends State<CreateConfirmationPopup> {
return null;
},
onSaved: (newValue) {
name = newValue?.trim();
name = newValue;
},
),
Row(