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