fix(battery): trim gpu name

This commit is contained in:
Ashley Wulber 2024-05-10 16:24:35 -04:00 • committed by Michael Murphy
parent 668b0825c9
commit dea51c7208

View file

@ -594,7 +594,7 @@ impl cosmic::Application for CosmicBatteryApplet {
row![ row![
text(fl!( text(fl!(
"dgpu-applications", "dgpu-applications",
gpu_name = format!("\"{}\"", gpu.name) gpu_name = format!("\"{}\"", gpu.name.trim())
)) ))
.size(14) .size(14)
.width(Length::Fill) .width(Length::Fill)