Cleanup after changes from Platform dbus rework

This commit is contained in:
Luke D. Jones
2023-11-18 22:36:55 +13:00
parent 1f696508e7
commit f6e4cc0626
9 changed files with 143 additions and 101 deletions

View File

@@ -325,7 +325,7 @@ impl ROGTray {
let mut reboot_required = false;
if let Ok(mode) = gfx_dbus.gpu_mux_mode() {
let mode = match mode {
let mode = match GpuMode::from(mode) {
GpuMode::Discrete => GfxMode::AsusMuxDgpu,
_ => GfxMode::Hybrid,
};