kopia lustrzana https://gitlab.com/mysocialportal/relatica
Fix deleting a comment doesn't pop back to timeline but stays on post thread view
rodzic
dcfed40e39
commit
500e2ee45c
|
@ -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) {
|
||||
|
|
Ładowanie…
Reference in New Issue