remove annoying osd popup when Audio changes

This commit is contained in:
end-4
2024-05-06 23:06:26 +07:00
parent d9a7e8d538
commit dd8a0b05fb
@@ -75,7 +75,7 @@ export default (monitor = 0) => {
volumeIndicator.attribute.headphones !== usingHeadphones) { volumeIndicator.attribute.headphones !== usingHeadphones) {
volumeIndicator.attribute.headphones = usingHeadphones; volumeIndicator.attribute.headphones = usingHeadphones;
self.label = usingHeadphones ? 'Headphones' : 'Speakers'; self.label = usingHeadphones ? 'Headphones' : 'Speakers';
Indicator.popup(1); // Indicator.popup(1);
} }
} }
self.hook(Audio, updateAudioDevice); self.hook(Audio, updateAudioDevice);