mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-01-28 22:01:50 +00:00
[Linux] Implement renaming airpods (#88)
* [Linux] Implement rename airpods * [Linux] Get airpods name from airpods metadata * [Linux] Rename AirPods: Ui improvements --------- Co-authored-by: Tim Gromeyer <tim.gromeyer@trans4mation.de>
This commit is contained in:
@@ -72,5 +72,23 @@ ApplicationWindow {
|
||||
anchors.top: parent.bottom
|
||||
}
|
||||
}
|
||||
|
||||
Row {
|
||||
spacing: 10
|
||||
|
||||
TextField {
|
||||
id: newNameField
|
||||
placeholderText: airPodsTrayApp.deviceName
|
||||
maximumLength: 32
|
||||
}
|
||||
|
||||
Button {
|
||||
text: "Rename"
|
||||
onClicked: {
|
||||
airPodsTrayApp.renameAirPods(newNameField.text)
|
||||
// Optional: newNameField.text = "" // Clear field after rename
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user