mirror of
https://github.com/seemoo-lab/openhaystack.git
synced 2026-02-14 17:49:54 +00:00
Move nearby marker to the right
This commit is contained in:
@@ -54,15 +54,15 @@ struct AccessoryListEntry: View {
|
||||
}
|
||||
|
||||
Spacer()
|
||||
Circle()
|
||||
.fill(accessory.isNearby ? Color.green : accessory.isActive ? Color.orange : Color.red)
|
||||
.frame(width: 8, height: 8)
|
||||
if !accessory.isDeployed {
|
||||
Button(
|
||||
action: { self.deployAccessoryToMicrobit(accessory) },
|
||||
label: { Text("Deploy") }
|
||||
)
|
||||
}
|
||||
Circle()
|
||||
.fill(accessory.isNearby ? Color.green : accessory.isActive ? Color.orange : Color.red)
|
||||
.frame(width: 8, height: 8)
|
||||
}
|
||||
.padding(EdgeInsets(top: 5, leading: 0, bottom: 5, trailing: 0))
|
||||
.contextMenu {
|
||||
|
||||
Reference in New Issue
Block a user