Move MicrophoneState to shortcut-microphone

This commit is contained in:
redphx
2024-05-25 07:51:51 +07:00
parent 774a822e69
commit 90df5d655f
2 changed files with 11 additions and 9 deletions

View File

@@ -3,15 +3,8 @@ import { BxIcon } from "@utils/bx-icon";
import { createButton, ButtonStyle, CE } from "@utils/html";
import { t } from "@utils/translation";
import { BaseGameBarAction } from "./action-base";
import { MicrophoneShortcut } from "../shortcuts/shortcut-microphone";
import { MicrophoneShortcut, MicrophoneState } from "../shortcuts/shortcut-microphone";
enum MicrophoneState {
REQUESTED = 'Requested',
ENABLED = 'Enabled',
MUTED = 'Muted',
NOT_ALLOWED = 'NotAllowed',
NOT_FOUND = 'NotFound',
}
export class MicrophoneAction extends BaseGameBarAction {
$content: HTMLElement;