Set the browser action icon to off when webrtc is disabled

This is now necessary since the webextension changed to default to on.

Follow up to 095f4a0

From trac 31067
This commit is contained in:
Arlo Breault 2019-07-13 12:48:21 +02:00
parent c02c4cfbbd
commit 6c6707ae9b

View file

@ -36,6 +36,7 @@ var debug, snowflake, config, broker, ui, log, dbg, init, update, silenceNotific
missingFeature: true missingFeature: true
}); });
}); });
chrome.browserAction.setIcon({ path: { 32: "icons/status-off.png" } });
return; return;
} }