mirror of
https://github.com/ClaytonWWilson/Listify.git
synced 2025-12-15 18:28:47 +00:00
Removed upper limit for quantity -- not needed
This commit is contained in:
parent
e7d2ec333a
commit
23fc181fc0
@ -162,9 +162,6 @@ public class ListPage extends AppCompatActivity {
|
||||
if(Integer.parseInt(pQuantity.get(position)) <= 1) {
|
||||
decrQuan.setEnabled(false);
|
||||
}
|
||||
if(Integer.parseInt(pQuantity.get(position)) < 10) {
|
||||
incrQuan.setEnabled(true);
|
||||
}
|
||||
|
||||
incrQuan.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
@ -177,9 +174,6 @@ public class ListPage extends AppCompatActivity {
|
||||
if(Integer.parseInt(pQuantity.get(position)) > 1) {
|
||||
decrQuan.setEnabled(true);
|
||||
}
|
||||
if(Integer.parseInt(pQuantity.get(position)) >= 10) {
|
||||
incrQuan.setEnabled(false);
|
||||
}
|
||||
|
||||
removeItem.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
|
||||
Loading…
Reference in New Issue
Block a user