Fix deleting a comment doesn't pop back to timeline but stays on post thread view

merge-requests/67/merge
Hank Grabowski 2024-12-18 23:48:57 -05:00
rodzic dcfed40e39
commit 500e2ee45c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -387,7 +387,7 @@ class _StatusControlState extends ConsumerState<FlattenedTreeEntryControl> {
.deleteEntryById(item.timelineEntry.id)
.match(onSuccess: (_) {
isProcessing = false;
if (context.canPop()) {
if (isPost && context.canPop()) {
context.pop();
}
}, onError: (e) {