chore: save activities on launch (#3644)

This commit is contained in:
ggurdin 2025-08-06 15:31:40 -04:00 committed by GitHub
parent 39fc047961
commit ed7c7d2d7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -152,6 +152,10 @@ class ActivityPlannerBuilderState extends State<ActivityPlannerBuilder> {
void startEditing() => setLaunchState(ActivityLaunchState.editing);
void setLaunchState(ActivityLaunchState state) {
if (state == ActivityLaunchState.launching) {
BookmarkedActivitiesRepo.save(updatedActivity);
}
launchState = state;
if (mounted) setState(() {});
}