refresh item cache after leaving host readout mode

This commit is contained in:
bunnie 2023-08-14 14:21:53 +08:00
parent 0931e02400
commit a40663bd63

View file

@ -691,6 +691,10 @@ fn main() -> ! {
modals.dynamic_notification(Some(t!("vault.readout_switchover", locales::LANG)), None).ok();
vaultux.readout_mode(false);
modals.dynamic_notification_close().ok();
xous::send_message(conn,
xous::Message::new_scalar(VaultOp::ReloadDbAndFullRedraw.to_usize().unwrap(), 0, 0, 0, 0)
).ok();
}
Some(VaultOp::MenuAutotypeRate) => {
let cv = {