CorruptedArk / did-i-take-my-meds

A Kotlin Android app to manage medications
GNU General Public License v3.0
179 stars 15 forks source link

Past doses sorting issue #83

Open fuzzblob opened 11 months ago

fuzzblob commented 11 months ago

Describe the bug The list of previously taken doses is sorted by type of schedule, not by time.

To Reproduce Steps to reproduce the behavior:

  1. Create a scheduled medication
  2. Log some entries
  3. Switch to "take as needed"
  4. Log more entries
  5. The new entries are listed below the previous "scheduled" doses even though they are more recent

Expected behavior I expect the list of previously taken doses to be sorted by latest up top, no matter under which mode they were logged.

Screenshots Screenshot_20240101-100225

Smartphone (please complete the following information):

Additional context I find myself forgetting about this bug exists and wonder whether my entries are being logged (last night I logged about 12)

sophieisqueer commented 10 months ago

Cam confirm the same issue on a Redmin Note 8T running Android 11 (LineageOS 18.1), installed through F-Droid.