When two or more doses are due now (overdue and unresolved), show one button that takes them all in a single tap — the common case of a morning handful. It loops over DoseActions.ensureLog + take, the same path each cards "Ta nå" uses, so inventory decrement and escalation cancel stay consistent; take() is idempotent so a stale row cannot double-decrement. Scoped to due-now only, so a later dose cannot be taken early by accident. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| schemas/no.naiv.meddetsamme.data.MedDatabase | ||
| src | ||
| build.gradle.kts | ||