From 8bc28c479679d6a1721a0144704574e1300dcc57 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Wed, 4 Oct 2023 16:49:00 +0200 Subject: [PATCH] fix(ui): fixing messages for remote control --- frontend/app/player/web/assist/RemoteControl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/player/web/assist/RemoteControl.ts b/frontend/app/player/web/assist/RemoteControl.ts index 19d2ffb0a..14c0998be 100644 --- a/frontend/app/player/web/assist/RemoteControl.ts +++ b/frontend/app/player/web/assist/RemoteControl.ts @@ -44,9 +44,9 @@ export default class RemoteControl { if (data === socket.id) { if (this.store.get().remoteControl === RemoteControlStatus.Enabled) this.onEnd(); this.toggleRemoteControl(false); - this.onReject(); } if (this.store.get().remoteControl === RemoteControlStatus.Requesting) { + this.onReject(); return this.store.update({ remoteControl: RemoteControlStatus.Disabled }); } });