Skip to content

Commit

Permalink
Fix navigation issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarty committed Nov 29, 2024
1 parent 6e5d7f8 commit 2fdb28d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ import io.element.android.libraries.architecture.BackstackWithOverlayBox
import io.element.android.libraries.architecture.BaseFlowNode
import io.element.android.libraries.architecture.createNode
import io.element.android.libraries.architecture.overlay.Overlay
import io.element.android.libraries.architecture.overlay.operation.hide
import io.element.android.libraries.architecture.overlay.operation.show
import io.element.android.libraries.di.RoomScope
import io.element.android.libraries.matrix.api.MatrixClient
Expand Down Expand Up @@ -239,7 +240,7 @@ class MessagesFlowNode @AssistedInject constructor(
)
val callback = object : MediaViewerEntryPoint.Callback {
override fun onDone() {
backstack.pop()
overlay.hide()
}
}
mediaViewerEntryPoint.nodeBuilder(this, buildContext)
Expand Down

0 comments on commit 2fdb28d

Please sign in to comment.