fix(Turnips): remove old code related to Chart Navigation behaviour
MODIFY
ACHNBrowserUI/ACHNBrowserUI/views/turnips/charts/TurnipsChartView.swift
ACHNBrowserUI/ACHNBrowserUI/views/turnips/charts/TurnipsChartView.swift
@@ -32,10 +32,7 @@ struct TurnipsChartView: View {
curves
}
TurnipsChartBottomLegendView(predictions: predictions).frame(height: 50)
- }
- .padding()
- .navigationBarItems(trailing: closeButton)
- .navigationBarTitle("Turnips chart for the week", displayMode: .inline)
+ }.padding()
}
private var curves: some View {
@@ -54,12 +51,6 @@ struct TurnipsChartView: View {
.foregroundColor(PredictionCurve.average.color)
}
}
-
- private var closeButton: some View {
- Button(action: { self.presentation.wrappedValue.dismiss() }) {
- Text("Close")
- }
- }
}
struct TurnipsChartView_Previews: PreviewProvider {

fix(Turnips): remove old code related to Chart Navigation behaviour