add timeline edit/delete
All checks were successful
Release / meta (push) Successful in 8s
Release / linux-build (push) Successful in 6m36s
Release / android-build (push) Successful in 17m20s
Release / release-dev (push) Successful in 37s
Release / release-master (push) Successful in 35s

This commit is contained in:
2025-12-17 12:17:41 +00:00
parent 80be797322
commit fa9773bcd1
9 changed files with 454 additions and 38 deletions

View File

@@ -466,6 +466,17 @@ class DataService extends ChangeNotifier {
}
}
Future<void> deleteTimelineBlock({
required int blockId,
}) async {
try {
await api.delete('/event/delete/$blockId');
} catch (e) {
debugPrint('Failed to delete timeline block $blockId: $e');
rethrow;
}
}
void clear() {
_homepageStats = null;
_legs = [];