We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3d249f commit a2c4d8bCopy full SHA for a2c4d8b
linux/Main.qml
@@ -15,6 +15,26 @@ ApplicationWindow {
15
spacing: 20
16
padding: 20
17
18
+ // Connection status indicator (Apple-like pill shape)
19
+ Rectangle {
20
+ anchors.horizontalCenter: parent.horizontalCenter
21
+ anchors.topMargin: 10
22
+ width: 120
23
+ height: 24
24
+ radius: 12
25
+ color: airPodsTrayApp.airpodsConnected ? "#30D158" : "#FF453A"
26
+ opacity: 0.8
27
+ visible: !airPodsTrayApp.airpodsConnected
28
+
29
+ Label {
30
+ anchors.centerIn: parent
31
+ text: airPodsTrayApp.airpodsConnected ? "Connected" : "Disconnected"
32
+ color: "white"
33
+ font.pixelSize: 12
34
+ font.weight: Font.Medium
35
+ }
36
37
38
// Battery Indicator Row
39
Row {
40
anchors.horizontalCenter: parent.horizontalCenter
0 commit comments