setting: Update silent setting option.

Correctly update the audio of the webview on toogle-silent event.
This commit is contained in:
Akash Nimare
2018-09-07 01:23:17 +05:30
parent 8c5e928e9c
commit f10d6eb115

View File

@@ -515,7 +515,7 @@ class ServerManagerView {
} catch (err) {
// webview is not ready yet
webview.addEventListener('dom-ready', () => {
webview.isAudioMuted();
webview.setAudioMuted(state);
});
}
});