Skip to content

Commit

Permalink
tarot_face: Don't show "Start" label for single card.
Browse files Browse the repository at this point in the history
  • Loading branch information
WesleyAC committed Sep 28, 2023
1 parent 0bc7c99 commit 2f11ec2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions movement/watch_faces/complication/tarot_face.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ static void tarot_display(tarot_state_t *state) {
}

// show a special status if we're looking at the first or last card in the spread
if (state->current_card == 0) {
if (state->current_card == 0 && state->num_cards_to_draw > 1) {
start_end_string = "St";
} else if (state->current_card == state->num_cards_to_draw - 1) {
} else if (state->current_card == state->num_cards_to_draw - 1 && state->num_cards_to_draw > 1) {
start_end_string = "En";
} else {
start_end_string = " ";
Expand Down

0 comments on commit 2f11ec2

Please sign in to comment.