fix: borders showing on launch

This commit is contained in:
electria 2026-08-17 15:07:18 -07:00
commit a894a02e66
Signed by: electria
SSH key fingerprint: SHA256:8LlB3ucPbBHqozqkhsNbaV5oG3SlzzqUj8FZDL6IPQs

View file

@ -43,13 +43,13 @@ struct State {
impl State {
fn new() -> (Self, Task<Message>) {
(
Self {
is_main_section_shown: true,
..Default::default()
},
info_stream::create(),
)
let mut state = Self {
is_main_section_shown: true,
..Default::default()
};
state.total_cpu_graph.show_borders = false;
(state, info_stream::create())
}
fn update(&mut self, message: Message) -> Task<Message> {
match message {