mirror of
https://github.com/neon443/NearFuture.git
synced 2026-03-11 22:56:15 +00:00
Fix import/Export events
rewrote the daysTillEventt()
This commit is contained in:
@@ -76,7 +76,9 @@ struct EventListView: View {
|
||||
.foregroundStyle(.one)
|
||||
}
|
||||
Button() {
|
||||
event.complete.toggle()
|
||||
withAnimation {
|
||||
event.complete.toggle()
|
||||
}
|
||||
let eventToModify = viewModel.events.firstIndex() { currEvent in
|
||||
currEvent.id == event.id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user