mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-22 12:30:42 +01:00
fix error in iterator
This commit is contained in:
parent
80daeb0923
commit
5f4a04fe85
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ public class DrugListActivity extends AppCompatActivity {
|
||||||
|
|
||||||
if (currentPrescription.getTake() == 0) {
|
if (currentPrescription.getTake() == 0) {
|
||||||
prescriptionList.remove(currentPrescription);
|
prescriptionList.remove(currentPrescription);
|
||||||
prescriptionList.add(prescriptionList.size(), currentPrescription);
|
prescriptionList.add(prescriptionList.size()-1, currentPrescription);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue