fix: remove card stacks that don't have any cards

This commit is contained in:
Ashley Wulber 2023-07-24 16:54:20 -04:00 committed by Ashley Wulber
parent 6ff3e669de
commit 0476ddd00b

View file

@ -278,6 +278,8 @@ impl Application for Notifications {
HashMap::from_iter(vec![("more", c.1.len().saturating_sub(1))])
);
}
self.cards.retain(|c| !c.1.is_empty());
Command::none()
}
},