()
| 331 | private readonly REMOTE_CONTROL_KEY = 'observer-ai:settings:remoteControl'; |
| 332 | |
| 333 | public isRemoteControlEnabled(): boolean { |
| 334 | return localStorage.getItem(this.REMOTE_CONTROL_KEY) !== 'off'; |
| 335 | } |
| 336 | |
| 337 | public setRemoteControlEnabled(enabled: boolean): void { |
| 338 | localStorage.setItem(this.REMOTE_CONTROL_KEY, enabled ? 'on' : 'off'); |