@@ -17,6 +17,12 @@ struct MeasurementsView: View {
|
||
| 17 | 17 |
var body: some View {
|
| 18 | 18 |
NavigationView {
|
| 19 | 19 |
VStack {
|
| 20 |
+ Text("Local timeline captured by the app while connected to the meter.")
|
|
| 21 |
+ .font(.footnote) |
|
| 22 |
+ .foregroundColor(.secondary) |
|
| 23 |
+ .multilineTextAlignment(.center) |
|
| 24 |
+ .padding(.horizontal) |
|
| 25 |
+ .padding(.top, 8) |
|
| 20 | 26 |
List {
|
| 21 | 27 |
ForEach (measurements.power.points) { point in
|
| 22 | 28 |
// MARK: Crapa la stergere daca lista incape in fereastra: Fatal error: Index out of range |
@@ -29,14 +35,9 @@ struct MeasurementsView: View {
|
||
| 29 | 35 |
} |
| 30 | 36 |
} |
| 31 | 37 |
.navigationBarItems(leading: HStack{
|
| 32 |
- #if targetEnvironment(macCatalyst) |
|
| 33 | 38 |
Button(action: {self.visibility.toggle()}) {
|
| 34 |
- Text("ⓧ")
|
|
| 35 |
- .foregroundColor(.red) |
|
| 39 |
+ Text("Done")
|
|
| 36 | 40 |
} |
| 37 |
- #else |
|
| 38 |
- Spacer() |
|
| 39 |
- #endif |
|
| 40 | 41 |
}, |
| 41 | 42 |
trailing: HStack{
|
| 42 | 43 |
#if targetEnvironment(macCatalyst) |
@@ -51,7 +52,7 @@ struct MeasurementsView: View {
|
||
| 51 | 52 |
.foregroundColor(.red) |
| 52 | 53 |
} |
| 53 | 54 |
}) |
| 54 |
- .navigationBarTitle("Measurements", displayMode: .inline)
|
|
| 55 |
+ .navigationBarTitle("App History", displayMode: .inline)
|
|
| 55 | 56 |
} |
| 56 | 57 |
.navigationViewStyle(StackNavigationViewStyle()) |
| 57 | 58 |
} |
@@ -63,7 +63,7 @@ struct MeterView: View {
|
||
| 63 | 63 |
} |
| 64 | 64 |
} |
| 65 | 65 |
|
| 66 |
- meterSheetButton(icon: "recordingtape", title: "History") {
|
|
| 66 |
+ meterSheetButton(icon: "recordingtape", title: "App History") {
|
|
| 67 | 67 |
measurementsViewVisibility.toggle() |
| 68 | 68 |
} |
| 69 | 69 |
.sheet(isPresented: self.$measurementsViewVisibility) {
|