fix qty split bill
This commit is contained in:
parent
46dfb7e44e
commit
3513c63259
@ -389,12 +389,14 @@ class _SplitBillRightPanelState extends State<SplitBillRightPanel> {
|
|||||||
),
|
),
|
||||||
GestureDetector(
|
GestureDetector(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
|
if (selectedQty < maxQty) {
|
||||||
context.read<SplitBillFormBloc>().add(
|
context.read<SplitBillFormBloc>().add(
|
||||||
SplitBillFormEvent.itemQuantityChanged(
|
SplitBillFormEvent.itemQuantityChanged(
|
||||||
itemId: item.id,
|
itemId: item.id,
|
||||||
quantity: selectedQty + 1,
|
quantity: selectedQty + 1,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
width: 32,
|
width: 32,
|
||||||
|
|||||||
@ -3,7 +3,7 @@ description: "A new Flutter project."
|
|||||||
|
|
||||||
publish_to: "none"
|
publish_to: "none"
|
||||||
|
|
||||||
version: 1.0.0+5
|
version: 1.0.1+6
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.8.1
|
sdk: ^3.8.1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user