mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-15 03:04:31 +10:00
make wifi/bluetooth device items not unexpectedly use fancy text
This commit is contained in:
+1
@@ -47,6 +47,7 @@ DialogListItem {
|
|||||||
color: Appearance.colors.colOnSurfaceVariant
|
color: Appearance.colors.colOnSurfaceVariant
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
text: root.device?.name || Translation.tr("Unknown device")
|
text: root.device?.name || Translation.tr("Unknown device")
|
||||||
|
textFormat: Text.PlainText
|
||||||
}
|
}
|
||||||
StyledText {
|
StyledText {
|
||||||
visible: (root.device?.connected || root.device?.paired) ?? false
|
visible: (root.device?.connected || root.device?.paired) ?? false
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ DialogListItem {
|
|||||||
color: Appearance.colors.colOnSurfaceVariant
|
color: Appearance.colors.colOnSurfaceVariant
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
text: root.wifiNetwork?.ssid ?? Translation.tr("Unknown")
|
text: root.wifiNetwork?.ssid ?? Translation.tr("Unknown")
|
||||||
|
textFormat: Text.PlainText
|
||||||
}
|
}
|
||||||
MaterialSymbol {
|
MaterialSymbol {
|
||||||
visible: (root.wifiNetwork?.isSecure || root.wifiNetwork?.active) ?? false
|
visible: (root.wifiNetwork?.isSecure || root.wifiNetwork?.active) ?? false
|
||||||
|
|||||||
+1
@@ -41,6 +41,7 @@ ExpandableChoiceButton {
|
|||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
font.pixelSize: Looks.font.pixelSize.large
|
font.pixelSize: Looks.font.pixelSize.large
|
||||||
text: root.device?.name || Translation.tr("Unknown device")
|
text: root.device?.name || Translation.tr("Unknown device")
|
||||||
|
textFormat: Text.PlainText
|
||||||
}
|
}
|
||||||
WText { // Status
|
WText { // Status
|
||||||
id: statusText
|
id: statusText
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ ExpandableChoiceButton {
|
|||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
font.pixelSize: Looks.font.pixelSize.large
|
font.pixelSize: Looks.font.pixelSize.large
|
||||||
text: root.wifiNetwork?.ssid ?? Translation.tr("Unknown")
|
text: root.wifiNetwork?.ssid ?? Translation.tr("Unknown")
|
||||||
|
textFormat: Text.PlainText
|
||||||
}
|
}
|
||||||
WText { // Status
|
WText { // Status
|
||||||
id: statusText
|
id: statusText
|
||||||
|
|||||||
Reference in New Issue
Block a user