Skip to content

Commit

Permalink
Move nearby marker to the right
Browse files Browse the repository at this point in the history
  • Loading branch information
schmittner committed Mar 15, 2021
1 parent cf0416e commit a88f5ab
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a88f5ab

Please sign in to comment.