VulpesOS/assets/webapps/system.gaiamobile.org/js/emergency_callback_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
743 B
JavaScript

/* global BaseIcon */
'use strict';
(function(exports) {
var EmergencyCallbackIcon = function(manager) {
BaseIcon.call(this, manager);
};
EmergencyCallbackIcon.prototype = Object.create(BaseIcon.prototype);
EmergencyCallbackIcon.prototype.name = 'EmergencyCallbackIcon';
EmergencyCallbackIcon.prototype.shouldDisplay = function() {
return this.manager.active;
};
EmergencyCallbackIcon.prototype.view = function view() {
return `<div id="statusbar-emergency-callback"
class="sb-icon sb-icon-emergency-callback"
hidden role="listitem"
data-l10n-id="statusbarEmergencyCallback">
</div>`;
};
exports.EmergencyCallbackIcon = EmergencyCallbackIcon;
}(window));