]> git.earman.xyz Git - sensor-watch.git/commit
faces/totp: fix error message not displayed bug
authorMatheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Wed, 20 Mar 2024 14:29:02 +0000 (11:29 -0300)
committerMatheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Wed, 20 Mar 2024 15:54:10 +0000 (12:54 -0300)
commit7e5c34773a4e8a47c2f8e77bd5c7ec58f4a7a84c
treec0525e6f2918a53aba1c7ced5a48a88ce7c43aec
parent3f850d79c8b0b4da5c1b8854f2e6437ca163edc4
faces/totp: fix error message not displayed bug

Forgot to call watch_display_string on the error message.
Of course the message isn't going to be displayed.

Also, increase the buffer size to 10 characters
and output a space to the last position.
This ensures the segments are cleared.

Tested-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Tested-on-hardware-by: madhogs <59648482+madhogs@users.noreply.github.com>
Signed-off-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/385
movement/watch_faces/complication/totp_face.c