Icons: half of BT

This commit is contained in:
LemmyCook 2025-09-08 18:51:05 -04:00
parent fa970986dc
commit d086d64d5f
4 changed files with 6 additions and 5 deletions

View file

@ -20,7 +20,7 @@ NIconButton {
colorBorder: Color.transparent
colorBorderHover: Color.transparent
icon: "bluetooth"
icon: FontService.icons["bluetooth"]
tooltipText: "Bluetooth"
onClicked: PanelService.getPanel("bluetoothPanel")?.toggle(screen, this)
}

View file

@ -28,7 +28,7 @@ NPanel {
spacing: Style.marginM * scaling
NIcon {
text: "bluetooth"
text: FontService.icons["bluetooth"]
font.pointSize: Style.fontSizeXXL * scaling
color: Color.mPrimary
}
@ -42,7 +42,7 @@ NPanel {
}
NIconButton {
icon: BluetoothService.adapter && BluetoothService.adapter.discovering ? "stop_circle" : "refresh"
icon: BluetoothService.adapter && BluetoothService.adapter.discovering ? FontService.icons["stop"] : FontService.icons["refresh"]
tooltipText: "Refresh Devices"
sizeRatio: 0.8
onClicked: {

View file

@ -49,6 +49,7 @@ Singleton {
})
}
// FIXME
function getDeviceIcon(device) {
if (!device) {
return "bluetooth"

View file

@ -40,7 +40,7 @@ Singleton {
"gear": "\uF3E5",
"close": "\uF659",
"check": "\uF272",
"panel": "\uF2CD",
"panel": "\uF290",
"memory": "\uF2D6",
"trash": "\uF78B",
"video_camera": "\uF21F",
@ -62,7 +62,7 @@ Singleton {
"stop": "\uF590",
"prev": "\uF561",
"next": "\uF55B",
"arrow_drop_down": "\uF282",
"arrow_drop_down": "\uF22C",
"warning": "\uF334",
"info": "\uF26A",
"upload": "\uF296",