removed step

This commit is contained in:
Nickiel12 2022-01-02 21:45:21 -08:00
parent b3ce6858e9
commit 24730ee3da

View file

@ -108,11 +108,10 @@ impl Hotkeys {
}
pub fn toggle_computer_sound(&self, value: bool) {
let direction: u8 = if value {1} else {0};
let time_delay = self.hotkeys["general"]["music_fade_time"].as_i64().unwrap();
if cfg!(target_family = "windows") {
Command::new(String::from(AHK_FILES_FOLDER) + "music_toggle.exe")
.arg(direction.to_string())
.arg((value as u8).to_string())
.arg(time_delay.to_string())
.spawn()
.expect("next_slide process call failed");