From d81c20ac9bffdcb7c139ad96548f6cb4970e6d7e Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Fri, 21 Aug 2026 06:35:53 +0000 Subject: [PATCH] Make the day-bar sleep pill a one-tap toggle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Once the big timer scrolls away, the pill in the day bar is the only thing still showing the sleep state — but acting on it meant scrolling back up to the quick actions. Tapping the pill now logs the boundary that ends the state it displays: sleep-end while asleep, sleep-start while awake. It routes through quickLog(), so the snackbar and its undo behave exactly as they do from the buttons, and the state is read from currentSleepState() rather than the cached bigClockState so a tap can't act on a stale render. The pill becomes a real