mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-04-28 06:21:23 +00:00
feat: pwsp-gui now uses Request::toggle_loop instead of set Request::set_loop
This commit is contained in:
+1
-4
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user