mirror of
https://github.com/morgan9e/SensorReader
synced 2026-04-14 00:14:33 +09:00
.
This commit is contained in:
@@ -44,12 +44,20 @@ struct ContentView: View {
|
||||
}
|
||||
Spacer()
|
||||
} else {
|
||||
List(bleManager.readings) { reading in
|
||||
SensorReadingRow(reading: reading)
|
||||
if #available(iOS 16.0, *) {
|
||||
List(bleManager.readings) { reading in
|
||||
SensorReadingRow(reading: reading)
|
||||
}
|
||||
.listStyle(.plain)
|
||||
.background(Color(.systemGroupedBackground))
|
||||
.scrollContentBackground(.hidden)
|
||||
} else {
|
||||
List(bleManager.readings) { reading in
|
||||
SensorReadingRow(reading: reading)
|
||||
}
|
||||
.listStyle(.plain)
|
||||
.background(Color(.systemGroupedBackground))
|
||||
}
|
||||
.listStyle(.plain)
|
||||
.background(Color(.systemGroupedBackground))
|
||||
.scrollContentBackground(.hidden)
|
||||
}
|
||||
|
||||
// Start/Stop button
|
||||
|
||||
Reference in New Issue
Block a user