fix carton
This commit is contained in:
@@ -77,12 +77,12 @@ class _DiscountEditorState extends State<DiscountEditor> {
|
||||
)),
|
||||
IconButton(
|
||||
icon: Icon(Icons.search, color: primaryColor),
|
||||
onPressed: () => searchUser(context, callbackUserSelect: (u) {
|
||||
onPressed: () => searchUser(context, onUserSelect: (u) {
|
||||
setState(() {
|
||||
customerId = u.id;
|
||||
customerName = u.name;
|
||||
});
|
||||
})),
|
||||
},popPage: true)),
|
||||
],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user