fix(flutter): align notification file actions with task cards

This commit is contained in:
Levi committed 2026-09-17 23:02:14 +08:00
1 parent 014221a1a7
commit 7496331ffd
2 files changed
+46 -4

No files matched your search

@@ -252,10 +252,7 @@ class AppNotificationController extends AsyncNotifier<AppNotificationState> {
await bringWindowToFront();
return;
}
if (!await File(spec.path).exists()) {
logger.w('notification target no longer exists: ${spec.path}');
return;
}
// Use the task card's file operations, including reveal's parent fallback.
switch (spec.id) {
case _openFileAction:
if (!await openTaskFile(spec.path)) {