Skip to content

Commit

Permalink
Fix primary color of nearby device row
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Oct 25, 2024
1 parent 85aee3d commit 9ace659
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/SpeziDevicesUI/Scanning/NearbyDeviceRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,15 @@ public struct NearbyDeviceRow: View {
HStack {
ListRow(verbatim: peripheral.label) {
deviceSecondaryLabel
.foregroundStyle(.secondary)
}
if peripheral.state == .connecting || peripheral.state == .disconnecting {
ProgressView()
.accessibilityRemoveTraits(.updatesFrequently)
}
}
}
.foregroundStyle(.primary)

if showDetailsButton {
Button(action: deviceDetailsAction) {
Expand Down

0 comments on commit 9ace659

Please sign in to comment.