mirror of
https://github.com/neon443/NearFuture.git
synced 2026-03-11 14:56:15 +00:00
fix "new edit event window" on mac not working
- it would save events with the same id and modify the previous one if u opened another one add symbols to ios date picker looks better mac
This commit is contained in:
@@ -65,9 +65,7 @@ struct ContentView: View {
|
||||
}
|
||||
.sheet(isPresented: $showAddEventView) {
|
||||
AddEventView(
|
||||
viewModel: viewModel,
|
||||
event: $viewModel.editableTemplate,
|
||||
adding: true
|
||||
viewModel: viewModel
|
||||
)
|
||||
.presentationSizing(.page)
|
||||
}
|
||||
@@ -75,8 +73,7 @@ struct ContentView: View {
|
||||
Button() {
|
||||
showAddEventView.toggle()
|
||||
} label: {
|
||||
Image(systemName: "plus")
|
||||
Text("New")
|
||||
Label("New", systemImage: "plus")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user