mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-21 20:19:23 +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) {
|
||||
prescriptionList.remove(currentPrescription);
|
||||
prescriptionList.add(prescriptionList.size(), currentPrescription);
|
||||
prescriptionList.add(prescriptionList.size()-1, currentPrescription);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue