feat: pwsp-gui now uses Request::toggle_loop instead of set Request::set_loop

This commit is contained in:
2026-01-02 04:41:00 +03:00
parent 6c06da7b0d
commit c1f3f34169
+1 -4
View File
@@ -131,10 +131,7 @@ impl SoundpadGui {
}
pub fn toggle_loop(&mut self) {
make_request_sync(Request::set_loop(
&(!self.audio_player_state.looped).to_string(),
))
.ok();
make_request_sync(Request::toggle_loop()).ok();
}
}