feat: Add UI optional UI locking when microphone is hot (#2484)
This commit is contained in:
committed by
dermotduffy
parent
9a763db1f3
commit
be7e7d79dc
@@ -78,7 +78,7 @@ export class MenuButtonController {
|
||||
foldersManager: FoldersManager,
|
||||
options?: MenuButtonControllerOptions,
|
||||
): MenuItem[] {
|
||||
return [
|
||||
const buttons: MenuItem[] = [
|
||||
this._getIrisButton(config),
|
||||
this._getCamerasButton(config, cameraManager, options?.view),
|
||||
this._getSubstreamsButton(config, cameraManager, options?.view),
|
||||
@@ -129,6 +129,8 @@ export class MenuButtonController {
|
||||
...button,
|
||||
})),
|
||||
].filter(isTruthy);
|
||||
|
||||
return buttons;
|
||||
}
|
||||
|
||||
private _getIrisButton(config: AdvancedCameraCardConfig): MenuItem {
|
||||
|
||||
Reference in New Issue
Block a user