Skip to content

Commit

Permalink
Fix display of 0 digit
Browse files Browse the repository at this point in the history
  • Loading branch information
SavageCore committed Sep 20, 2023
1 parent 5bf4381 commit 580ce22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
<!-- Keypad display 4 asterisks, replaced with numbers -->
{#each Array(4) as _, i}
<!-- If pressedNumbers[i] print otherwise * -->
{#if $pressedNumbers[i]}
{#if $pressedNumbers[i] !== undefined}
{$pressedNumbers[i]}
{:else}*{/if}
{/each}
Expand Down

0 comments on commit 580ce22

Please sign in to comment.