diegopvlk/Dosage

Feature: Clear history older then x days

Closed this issue · 2 comments

I rely on the Dosage app to remind me of my important remedy usage.

It seems that the history section becomes very long after a few days because I use too many remedies.

Could you possibly add an auto-clear function for the history without affecting the counter, as some remedies may still need to be counted?

The inventory is only changed if the removed item is of today. So you can safely remove older history entries without affecting the stock.
But sure, I can add an option to clear the history.

The preference keeps a maximum history of 30 days, I think it's a good number so I won't make customizable.