xous-core/apps/vault
bunnie cae402fad0 fix case where an idle font selection menu can crash the system while in TOTP mode
when the font menu is raised while in TOTP mode, the "pump"
thread continues to prompt for redraws, which can eventually lead to
an overflow of the server queue on the main thread that leads to
deadlock and eventually a crash.

This patch does two things:

- splits the allow_host variable and the allow_totp_rendering variable
so that the two flags have distinct meanings

- use the allow_totp_rendering variable to control when the
totp thread is allowed to pump the main thread to animate the
timer bar.

Previously the allow_host variable was introduced to control access
to sensitive data, and it incidentally was also used to control
TOTP rendering because when host readout is activated this can
freeze the UI for extended periods of time.

By splitting the flag we can now control both independently of
each other. Rendering still stops when host readout is enabled,
but it also stops when any other blocking dialog boxes are popped up,
hopefully preventing future crashes if a user is distracted in
the middle of a UX flow that can block the main loop.
2023-07-06 16:36:10 +08:00
..
libraries update pins, again 2023-07-04 11:20:12 +08:00
locales add a screen to indicate when databases are reloading 2023-06-06 19:31:26 +08:00
src fix case where an idle font selection menu can crash the system while in TOTP mode 2023-07-06 16:36:10 +08:00
tools cleanup another format, add some more analytics 2023-01-03 23:36:46 +08:00
Cargo.toml update pins, again 2023-07-04 11:20:12 +08:00