Skip to content

Commit f547cc1

Browse files
committed
linux: fix conversational awareness check for phone MAC
1 parent 11fa918 commit f547cc1

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

linux/Main.qml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -154,28 +154,8 @@ ApplicationWindow {
154154
visible: airPodsTrayApp.airpodsConnected
155155
text: "Conversational Awareness"
156156
checked: airPodsTrayApp.deviceInfo.conversationalAwareness
157-
// Disable when no phone MAC set or using default placeholder
158-
enabled: !(PHONE_MAC_ADDRESS === "" || PHONE_MAC_ADDRESS === "00:00:00:00:00:00")
159157
onCheckedChanged: airPodsTrayApp.setConversationalAwareness(checked)
160158
}
161-
162-
// Instruction when Conversational Awareness is disabled due to missing phone MAC
163-
Row {
164-
anchors.horizontalCenter: parent.horizontalCenter
165-
spacing: 8
166-
visible: airPodsTrayApp.airpodsConnected && (PHONE_MAC_ADDRESS === "" || PHONE_MAC_ADDRESS === "00:00:00:00:00:00")
167-
168-
Label {
169-
text: "Set your phone's MAC in Settings to use this feature"
170-
font.pixelSize: 12
171-
color: "gray"
172-
}
173-
174-
Button {
175-
text: "Open Settings"
176-
onClicked: stackView.push(settingsPage)
177-
}
178-
}
179159
}
180160

181161
RoundButton {
@@ -184,7 +164,7 @@ ApplicationWindow {
184164
anchors.margins: 10
185165
font.family: iconFont.name
186166
font.pixelSize: 18
187-
text: "\uf958" // U+F958
167+
text: "\uf958"
188168
onClicked: stackView.push(settingsPage)
189169
}
190170
}

0 commit comments

Comments
 (0)