mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 16:33:01 -06:00
Should not be able to play a call from search pane if play is paused
This commit is contained in:
parent
2489a5a490
commit
2a717b7afb
|
|
@ -193,6 +193,7 @@ export class AppRadioService implements OnDestroy {
|
|||
play(call?: RadioCall): void {
|
||||
this._configureAudio();
|
||||
|
||||
if (!this._paused) {
|
||||
if (call) {
|
||||
if (call.audio) {
|
||||
if (this._call.current) {
|
||||
|
|
@ -215,6 +216,7 @@ export class AppRadioService implements OnDestroy {
|
|||
this._audio.load();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
queue(call: RadioCall | RadioCall[], bypass = false): void {
|
||||
if (Array.isArray(call)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue