From d673cef1b0951193d72e82132a3870f406290f8a Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 27 Jan 2023 02:23:34 +0800 Subject: [PATCH] cleanup minor UX issue (disappearing title when no items present) --- apps/vault/src/ux/framework.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/vault/src/ux/framework.rs b/apps/vault/src/ux/framework.rs index 1beef8362..41e6976a5 100644 --- a/apps/vault/src/ux/framework.rs +++ b/apps/vault/src/ux/framework.rs @@ -427,6 +427,7 @@ impl VaultUx { stroke_width: 0 } )).expect("can't clear content area"); + self.title_dirty = true; // just blanked the whole area, have to redraw the title. return; } else if self.title_dirty && self.filtered_list.len() != 0 { // handle the title region separately