thehale / SimpleTimeTracker-WearOS

A fork of Simple Time Tracker with WearOS support. (Now integrated upstream)
GNU General Public License v3.0
14 stars 4 forks source link

Switch to `Long` instead of `String` hex codes for passing colors over RPC #24

Closed thehale closed 8 months ago

thehale commented 8 months ago

In DTO.kt > Activity there is a color attribute which takes a String as a value.

Instead, we want to pass the native Long value used by Android. That way we can remove the conversion code in the DomainAPI, ActivityChip and theme/Color