mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
refactor(voice): request mic and camera permission separately (#2387)
This commit is contained in:
1 parent
749d2091eb
commit
90f4a222b7
13 files changed
+592
-157
No files matched your search
@@ -102,7 +102,7 @@ class NewDeviceMonitoring {
|
||||
|
||||
private handleDeviceStateChange(state: VoiceDeviceState): void {
|
||||
if (!this.isStarted) return;
|
||||
if (state.permissionStatus !== 'granted') {
|
||||
if (state.permissionStatus.audio !== 'granted') {
|
||||
return;
|
||||
}
|
||||
if (this.suppressAlerts) {
|
||||
|
||||
Reference in new issue
Block a user