summaryrefslogtreecommitdiff
path: root/modules/controlcenter/bluetooth/Details.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/controlcenter/bluetooth/Details.qml')
-rw-r--r--modules/controlcenter/bluetooth/Details.qml18
1 files changed, 4 insertions, 14 deletions
diff --git a/modules/controlcenter/bluetooth/Details.qml b/modules/controlcenter/bluetooth/Details.qml
index c9d10cd..5496966 100644
--- a/modules/controlcenter/bluetooth/Details.qml
+++ b/modules/controlcenter/bluetooth/Details.qml
@@ -1,6 +1,7 @@
pragma ComponentBehavior: Bound
import ".."
+import "../components"
import qs.components
import qs.components.controls
import qs.components.effects
@@ -41,20 +42,9 @@ StyledFlickable {
anchors.top: parent.top
spacing: Appearance.spacing.normal
- MaterialIcon {
- Layout.alignment: Qt.AlignHCenter
- animate: true
- text: Icons.getBluetoothIcon(root.device?.icon ?? "")
- font.pointSize: Appearance.font.size.extraLarge * 3
- font.bold: true
- }
-
- StyledText {
- Layout.alignment: Qt.AlignHCenter
- animate: true
- text: root.device?.name ?? ""
- font.pointSize: Appearance.font.size.large
- font.bold: true
+ SettingsHeader {
+ icon: Icons.getBluetoothIcon(root.device?.icon ?? "")
+ title: root.device?.name ?? ""
}
StyledText {