|
@@ -112,11 +112,22 @@ struct BudgetViewSummary: View {
|
|
|
|
|
|
@State private var showMonthPicker: Bool = false
|
|
|
|
|
|
+ @State private var showNotImplemented: Bool = false
|
|
|
+
|
|
|
var body: some View {
|
|
|
VStack {
|
|
|
HStack {
|
|
|
- Button("\(monthName) \(String(year))", action: { withAnimation() { showMonthPicker.toggle() } } )
|
|
|
+ Button(action: { withAnimation() { showMonthPicker.toggle() } } ) {
|
|
|
+ Text("\(monthName) \(String(year))")
|
|
|
+ Image(systemName: showMonthPicker ? "chevron.up" : "chevron.down")
|
|
|
+ }
|
|
|
Spacer()
|
|
|
+ Button(action: { showNotImplemented.toggle() }) { // TODO: Implement this
|
|
|
+ Image(systemName: "bolt")
|
|
|
+ }
|
|
|
+ Button(action: { showNotImplemented.toggle() }) { // TODO: Implement this
|
|
|
+ Image(systemName: "gear")
|
|
|
+ }.padding(.leading, 11)
|
|
|
}
|
|
|
.padding(.vertical, 11)
|
|
|
|
|
@@ -129,6 +140,10 @@ struct BudgetViewSummary: View {
|
|
|
Spacer()
|
|
|
Text("$ 0.00")
|
|
|
}
|
|
|
+
|
|
|
+ .alert(isPresented: $showNotImplemented) {
|
|
|
+ Alert(title: Text("Not Implemented!"))
|
|
|
+ }
|
|
|
}
|
|
|
.padding(.vertical, 11)
|
|
|
}
|