File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
app/src/main/java/org/thoughtcrime/securesms/calls/links/details Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,10 @@ class CallLinkDetailsActivity : FragmentActivity() {
6565 }.show(supportFragmentManager, null )
6666 }
6767
68+ is MainNavigationDetailLocation .Empty -> {
69+ finishAfterTransition()
70+ }
71+
6872 else -> error(" Unsupported route $location " )
6973 }
7074 }
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ import org.thoughtcrime.securesms.calls.links.CallLinks
4646import org.thoughtcrime.securesms.calls.links.SignalCallRow
4747import org.thoughtcrime.securesms.database.CallLinkTable
4848import org.thoughtcrime.securesms.main.MainNavigationDetailLocation
49- import org.thoughtcrime.securesms.main.MainNavigationListLocation
5049import org.thoughtcrime.securesms.main.MainNavigationRouter
5150import org.thoughtcrime.securesms.main.MainNavigationViewModel
5251import org.thoughtcrime.securesms.recipients.RecipientId
@@ -154,7 +153,6 @@ class DefaultCallLinkDetailsCallback(
154153 viewModel.setDisplayRevocationDialog(false )
155154 activity.lifecycleScope.launch {
156155 if (viewModel.delete()) {
157- router.goTo(MainNavigationListLocation .CALLS )
158156 router.goTo(MainNavigationDetailLocation .Empty )
159157 }
160158 }
You can’t perform that action at this time.
0 commit comments