Fix suspend icon in cosmic-applet-power

This commit is contained in:
W 2023-11-09 13:10:25 +01:00 committed by Ashley Wulber
parent 6f76185225
commit b595236c6b

View file

@ -265,7 +265,7 @@ impl cosmic::Application for Power {
]; ];
let power = row![ let power = row![
power_buttons("system-lock-screen-symbolic", fl!("suspend")) power_buttons("system-suspend-symbolic", fl!("suspend"))
.on_press(Message::Action(PowerAction::Suspend)), .on_press(Message::Action(PowerAction::Suspend)),
power_buttons("system-restart-symbolic", fl!("restart")) power_buttons("system-restart-symbolic", fl!("restart"))
.on_press(Message::Action(PowerAction::Restart)), .on_press(Message::Action(PowerAction::Restart)),