MCPcopy Create free account
hub / github.com/Roy3838/Observer / isRemoteControlEnabled

Method isRemoteControlEnabled

app/src/utils/settings.ts:333–335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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');

Callers 1

useRemoteControlFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected