mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 19:01:40 +00:00
Prevent auto checking of audio devices
This commit is contained in:
parent
5f7b005626
commit
6ccef6e515
1 changed files with 4 additions and 2 deletions
|
|
@ -56,8 +56,10 @@ export const AudioSettings = () => {
|
||||||
.catch(() => toast.error({ message: 'Error fetching audio devices' }));
|
.catch(() => toast.error({ message: 'Error fetching audio devices' }));
|
||||||
};
|
};
|
||||||
|
|
||||||
getAudioDevices();
|
if (settings.type === PlaybackType.WEB) {
|
||||||
}, []);
|
getAudioDevices();
|
||||||
|
}
|
||||||
|
}, [settings.type]);
|
||||||
|
|
||||||
const audioOptions: SettingOption[] = [
|
const audioOptions: SettingOption[] = [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue