diff options
author | David Keck <davidskeck@users.noreply.github.com> | 2022-01-19 12:12:43 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 12:12:43 -0600 |
commit | caf41d28dd60829057e69732ddcdde4f15723373 (patch) | |
tree | a20857d185b352a8d6ac5ee1ed98e0f56f058c1c | |
parent | 138b3d0c5e4c9bd32adef17c83981b180c676969 (diff) | |
download | Sensor-Watch-caf41d28dd60829057e69732ddcdde4f15723373.tar.gz Sensor-Watch-caf41d28dd60829057e69732ddcdde4f15723373.tar.bz2 Sensor-Watch-caf41d28dd60829057e69732ddcdde4f15723373.zip |
Reset selection to 0 on resign from setting state
I believe this also needs to be set back to 0 so the setting screen will resume at minutes, not potentially at settings on next run.
-rw-r--r-- | movement/watch_faces/complications/countdown_face.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/movement/watch_faces/complications/countdown_face.c b/movement/watch_faces/complications/countdown_face.c index 3dcc08c2..a910e96c 100644 --- a/movement/watch_faces/complications/countdown_face.c +++ b/movement/watch_faces/complications/countdown_face.c @@ -221,6 +221,7 @@ void countdown_face_resign(movement_settings_t *settings, void *context) { (void) settings; countdown_state_t *state = (countdown_state_t *)context; if (state->mode == cd_setting) { + state->selection = 0; state->mode = cd_waiting; } } |