widgets: ConfirmationView: Restore default font

The title will render with the last font used, and this isn't always
right for the ConfirmationView. Setting the font explicitly solves that
issue.

Signed-off-by: Miguel Rochefort <miguelrochefort@gmail.com>
This commit is contained in:
Miguel Rochefort 2021-01-04 22:00:47 -05:00 committed by Daniel Thompson
parent bc9000c1a5
commit 8a07edb4d8

View file

@ -439,6 +439,7 @@ class ConfirmationView:
mute(True)
draw.set_color(wasp.system.theme('bright'))
draw.set_font(fonts.sans24)
draw.fill()
draw.string(message, 0, 60)
self._yes.draw()