Something went wrong. Try again.
A nerdy way to tell time on Android/iOS 🕓
Something went wrong. Try again.
refactor: Extract binary digits logic
The "business logic" for determining the digits corresponding to the current time was closely coupled to the rendering logic. This commit extracts the digit computation logic, primarily to facilitate unit testing, but it has the side benefit of making the code easier to read.
Author
thehale.dev Date (Jun 23, 2024, 4:39 AM UTC) Commit
Copy SHA
Parent 6b927983 6b92798356a3d614ef8192a2c4939cf88c7293f9