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)
|
.deleteEntryById(item.timelineEntry.id)
|
||||||
.match(onSuccess: (_) {
|
.match(onSuccess: (_) {
|
||||||
isProcessing = false;
|
isProcessing = false;
|
||||||
if (context.canPop()) {
|
if (isPost && context.canPop()) {
|
||||||
context.pop();
|
context.pop();
|
||||||
}
|
}
|
||||||
}, onError: (e) {
|
}, onError: (e) {
|
||||||
|
|
Ładowanie…
Reference in New Issue