Removed invalid properties from NIcon callers

This commit is contained in:
ItsLemmy
2025-10-15 16:03:29 -04:00
parent fd33761901
commit 6fd41cd591
6 changed files with 6 additions and 11 deletions
-1
View File
@@ -336,7 +336,6 @@ ColumnLayout {
NIcon {
icon: "check"
pointSize: Style.fontSizeXS
font.weight: Style.fontWeightBold
color: Color.mOnSecondary
anchors.centerIn: parent
}
-1
View File
@@ -423,7 +423,6 @@ NPanel {
NIcon {
icon: "check"
pointSize: Style.fontSizeM
font.weight: Style.fontWeightBold
color: Color.mOnSecondary
anchors.centerIn: parent
}
+6 -6
View File
@@ -171,22 +171,22 @@ Singleton {
function getSignalIcon(device) {
if (!device || device.signalStrength === undefined || device.signalStrength <= 0) {
return "signal_cellular_null"
return "antenna-bars-off"
}
var signal = device.signalStrength
if (signal >= 80) {
return "signal_cellular_4_bar"
return "antenna-bars-5"
}
if (signal >= 60) {
return "signal_cellular_3_bar"
return "antenna-bars-4"
}
if (signal >= 40) {
return "signal_cellular_2_bar"
return "antenna-bars-3"
}
if (signal >= 20) {
return "signal_cellular_1_bar"
return "antenna-bars-2"
}
return "signal_cellular_0_bar"
return "antenna-bars-1"
}
function isDeviceBusy(device) {
-1
View File
@@ -61,7 +61,6 @@ RowLayout {
icon: "check"
color: root.activeOnColor
pointSize: Math.max(Style.fontSizeXS, root.baseSize * 0.5)
font.weight: Style.fontWeightBold
}
MouseArea {
-1
View File
@@ -624,7 +624,6 @@ Popup {
NIcon {
icon: "filepicker-check"
pointSize: Style.fontSizeS
font.weight: Style.fontWeightBold
color: Color.mOnSecondary
anchors.centerIn: parent
}
-1
View File
@@ -217,7 +217,6 @@ Item {
icon: "check"
color: root.activeOnColor
pointSize: Math.max(Style.fontSizeXS, root.baseSize * 0.5)
font.weight: Style.fontWeightBold
}
MouseArea {