made events update propery when changing on ios

update animations on adding and removing events
fix symbolpicker crash on fast scroll by making it not show all the symbols lol
might be ready to ship?
This commit is contained in:
neon443 committed 2025-06-19 09:37:15 +01:00
1 parent 2b25ddf9b3
commit 3ee22da036
8 files changed
+49 -27

No files matched your search

+8
View File
@@ -19,6 +19,14 @@ struct ArchiveView: View {
ScrollView {
ForEach(filteredEvents) { event in
EventListView(viewModel: viewModel, event: event)
.contextMenu() {
Button(role: .destructive) {
viewModel.removeEvent(event)
} label: {
Label("Delete", systemImage: "trash")
.tint(.red )
}
}
}
}
.scrollContentBackground(.hidden)
+8
View File
@@ -34,6 +34,14 @@ struct HomeView: View {
if filteredEvents.contains(event) {
EventListView(viewModel: viewModel, event: event)
.id(event)
.contextMenu() {
Button(role: .destructive) {
viewModel.removeEvent(event)
} label: {
Label("Delete", systemImage: "trash")
.tint(.red)
}
}
}
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.