refactor: qualify path slightly more consistently

This commit is contained in:
electria 2026-08-15 19:22:31 -07:00
commit 374cbd546d
Signed by: electria
SSH key fingerprint: SHA256:8LlB3ucPbBHqozqkhsNbaV5oG3SlzzqUj8FZDL6IPQs

View file

@ -1,6 +1,6 @@
use iced::{ use iced::{
Color, Element, Length, Renderer, Task, Theme, application, futures::SinkExt, stream::channel, Color, Element, Length, Renderer, Task, Theme, application, futures::SinkExt, stream, theme,
theme, widget, widget,
}; };
use smol::Timer; use smol::Timer;
@ -23,7 +23,7 @@ impl State {
( (
Self::default(), Self::default(),
Task::run( Task::run(
channel(1, async |mut sender| { stream::channel(1, async |mut sender| {
let mut sys = sysinfo::System::new(); let mut sys = sysinfo::System::new();
let refreshes = sysinfo::RefreshKind::nothing() let refreshes = sysinfo::RefreshKind::nothing()
.with_cpu(sysinfo::CpuRefreshKind::nothing().with_cpu_usage()); .with_cpu(sysinfo::CpuRefreshKind::nothing().with_cpu_usage());