fix editing events on mac and ios

toolbar label()s instead of buton("label")s
fix event add/delete/tick animation
fix event complete progress on ios and mac and that it just spazzed out
browsing true for symbols browsing (not picking)
This commit is contained in:
neon443
2025-06-15 21:18:58 +01:00
parent 0cffe243eb
commit 5ec16dd67a
9 changed files with 46 additions and 30 deletions

View File

@@ -44,12 +44,7 @@ struct NearFutureApp: App {
viewModel.events.first(where: {$0.id == eventID}) ?? viewModel.template
},
set: { newValue in
if let eventIndex = viewModel.events.firstIndex(where: {
$0.id == eventID
}) {
viewModel.events[eventIndex] = newValue
}
viewModel.saveEvents()
viewModel.editEvent(newValue)
}
)
)