Something went wrong. Try again.
A fork of Simple Time Tracker with WearOS support. (Now integrated upstream)
Something went wrong. Try again.
refactor: Hoist all rpc calls to `ActivitiesScreen` master
Components are more reusable when they have minimal state and/or dependency on outside resources. This commit raises the rpc calls to `ActivitiesScreen` which has the responsibility for managing the data flow and interactions between components. This update also fixes a few bugs: - Tapping an activity chip will start the activity if it doesn't have any tags. - The switches now update automatically after an activity is started or stopped. closes thehale/SimpleTimeTracker-WearOS#12 closes thehale/SimpleTimeTracker-WearOS#13
Author Joseph Hale Date (Feb 27, 2024, 5:27 AM UTC) Commit 047c536f 047c536facfaddfdb077015cc5172060a5a0c9a6 Parent 5f429f69 5f429f6933bdbe57e0cb13b1f2e9a0babb4c181a