VulpesOS/assets/webapps/system.gaiamobile.org/js/bluetooth_transfer_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

23 lines
757 B
JavaScript

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