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) {
|
pub fn toggle_loop(&mut self) {
|
||||||
make_request_sync(Request::set_loop(
|
make_request_sync(Request::toggle_loop()).ok();
|
||||||
&(!self.audio_player_state.looped).to_string(),
|
|
||||||
))
|
|
||||||
.ok();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user