diff --git a/src/types/commands.rs b/src/types/commands.rs index 8e149eb..ecb4dbf 100644 --- a/src/types/commands.rs +++ b/src/types/commands.rs @@ -197,7 +197,7 @@ impl Executable for GetVolumeCommand { let volume = audio_player.get_volume(self.id); if let Some(volume) = volume { - Response::new(true, volume.to_string()) + Response::new(true, volume.to_string()) } else { Response::new(false, "Failed to get volume") } diff --git a/src/utils/gui.rs b/src/utils/gui.rs index 45a3d3d..9687666 100644 --- a/src/utils/gui.rs +++ b/src/utils/gui.rs @@ -55,7 +55,9 @@ pub fn start_app_state_thread(audio_player_state_shared: Arc {