mirror of
https://github.com/csd4ni3l/soundboard.git
synced 2026-03-10 17:19:24 +01:00
Add sink twice to second PlayingSound push cuz rust is dumb shit and doesnt understand im already returning
This commit is contained in:
@@ -257,7 +257,8 @@ fn play_sound(file_path: String, app_state: &mut AppState) {
|
|||||||
app_state.currently_playing.push(PlayingSound {
|
app_state.currently_playing.push(PlayingSound {
|
||||||
file_path: file_path.clone(),
|
file_path: file_path.clone(),
|
||||||
length,
|
length,
|
||||||
sink
|
sink,
|
||||||
|
sink // sink twice cuz rust is dumb shit and doesnt understand im already returning
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user