mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 11:26:24 +02:00
Add HStack to fix controller UI
This commit is contained in:
parent
8ebde3f921
commit
098467f3f3
2 changed files with 13 additions and 12 deletions
Binary file not shown.
|
@ -84,7 +84,7 @@ struct ContentView: View {
|
||||||
Text("Refresh")
|
Text("Refresh")
|
||||||
}
|
}
|
||||||
ForEach(controllersList, id: \.self) { controller in
|
ForEach(controllersList, id: \.self) { controller in
|
||||||
|
HStack {
|
||||||
Button {
|
Button {
|
||||||
if currentControllers.contains(where: { $0.id == controller.id }) {
|
if currentControllers.contains(where: { $0.id == controller.id }) {
|
||||||
currentControllers.removeAll(where: { $0.id == controller.id })
|
currentControllers.removeAll(where: { $0.id == controller.id })
|
||||||
|
@ -100,6 +100,7 @@ struct ContentView: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue