diff --git a/lib/controls/timeline/flattened_tree_entry_control.dart b/lib/controls/timeline/flattened_tree_entry_control.dart index 42e3452..c1976ca 100644 --- a/lib/controls/timeline/flattened_tree_entry_control.dart +++ b/lib/controls/timeline/flattened_tree_entry_control.dart @@ -387,7 +387,7 @@ class _StatusControlState extends ConsumerState { .deleteEntryById(item.timelineEntry.id) .match(onSuccess: (_) { isProcessing = false; - if (context.canPop()) { + if (isPost && context.canPop()) { context.pop(); } }, onError: (e) {