mirror of
https://github.com/vector-im/element-call.git
synced 2026-09-25 22:35:49 +00:00
Apply suggestion from @robintown
Co-authored-by: Robin <robin@robin.town>
This commit is contained in:
@@ -13,7 +13,7 @@ import { type Behavior } from "./Behavior";
|
|||||||
/** What the microphone picks up, or why it can't be read. */
|
/** What the microphone picks up, or why it can't be read. */
|
||||||
export type MicrophoneState =
|
export type MicrophoneState =
|
||||||
// A Behavior, so a changing level can be drawn without re-rendering.
|
// A Behavior, so a changing level can be drawn without re-rendering.
|
||||||
| { type: "level"; level: Behavior<number> }
|
| { type: "level"; level$: Behavior<number> }
|
||||||
| { type: "permission-denied" }
|
| { type: "permission-denied" }
|
||||||
| { type: "no-device" };
|
| { type: "no-device" };
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user