From cfa65a3a72a5fa49efe8aefcbfc7a93dcd021935 Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 11 Aug 2022 02:48:56 +0800 Subject: [PATCH] add some notes about integration with #205 --- apps/vault/src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/vault/src/main.rs b/apps/vault/src/main.rs index ade97b345..4c19e4ed8 100644 --- a/apps/vault/src/main.rs +++ b/apps/vault/src/main.rs @@ -458,6 +458,11 @@ fn main() -> ! { vaultux.readout_mode(true); modals.dynamic_notification_close().ok(); + // TODO: rethink the integration of this menu item. The problem is that if you're in readout + // mode and the "vault" mode is active, the "pumper" thread keeps sending messages to redraw + // the TOTP timer bar. This will eventually overflow this server's queue and cause a hang. + // However, the final integration for this will depend a bit on how the vault upload/download PR + // turns out. modals.show_notification(t!("vault.readout_active", xous::LANG), None).ok(); // TODO: add some variable here to de-activate HID readout once this is done