|
|
|
|
@ -32,9 +32,6 @@ struct ContentView<T : AbstractTimer>: View { |
|
|
|
|
|
|
|
|
|
@State private var showSettingsSheet: Bool = false |
|
|
|
|
@State private var showStatsSheet: Bool = false |
|
|
|
|
// @State private var showAddSheet: Bool = false |
|
|
|
|
// @State private var showTimerSheet: Bool = false |
|
|
|
|
// @State private var showStopwatchSheet: Bool = false |
|
|
|
|
|
|
|
|
|
@State private var showSubscriptionSheet: Bool = false |
|
|
|
|
|
|
|
|
|
@ -78,16 +75,12 @@ struct ContentView<T : AbstractTimer>: View { |
|
|
|
|
} |
|
|
|
|
.sheet(isPresented: self.$boringContext.isShowingNewData, content: { |
|
|
|
|
}) |
|
|
|
|
// .sheet(isPresented: self.$showAddSheet, content: { |
|
|
|
|
// NewCountdownView(isPresented: $showAddSheet, tabSelection: .constant(0)) |
|
|
|
|
// .environment(\.managedObjectContext, viewContext) |
|
|
|
|
// }) |
|
|
|
|
.toolbar { |
|
|
|
|
if Conductor.maestro.memoryWarningReceived { |
|
|
|
|
ToolbarItemGroup(placement: .navigationBarTrailing) { |
|
|
|
|
Image(systemName: "circle.fill").font(.caption2).foregroundColor(.orange) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// if Conductor.maestro.memoryWarningReceived { |
|
|
|
|
// ToolbarItemGroup(placement: .navigationBarTrailing) { |
|
|
|
|
// Image(systemName: "circle.fill").font(.caption2).foregroundColor(.orange) |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
MainToolbarView(isEditing: self.$isEditing) |
|
|
|
|
} |
|
|
|
|
.onAppear { |
|
|
|
|
|