VulpesOS/gaia/apps/system/js/usb_icon.js
OverSu b38dea0597 Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
2026-09-30 23:13:03 +02:00

24 lines
621 B
JavaScript
Executable file

/* global BaseIcon */
'use strict';
(function(exports) {
var UsbIcon = function(manager){
BaseIcon.call(this, manager);
};
UsbIcon.prototype = Object.create(BaseIcon.prototype);
UsbIcon.prototype.name = 'UsbIcon';
UsbIcon.prototype.shouldDisplay = function() {
return this.manager.umsActive;
};
UsbIcon.prototype.view = function view() {
return `<div id="statusbar-usb"
class="sb-icon sb-icon-usb"
hidden role="listitem"
aria-live="polite"
data-l10n-id="statusbarUsb">
</div>`;
};
exports.UsbIcon = UsbIcon;
}(window));