mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Add support for files navigation (when coming from the gallery)
This commit is contained in:
committed by
Benoit Marty
parent
32db42aebb
commit
7df65b0350
+2
@@ -246,6 +246,8 @@ class MessagesFlowNode @AssistedInject constructor(
|
||||
}
|
||||
is NavTarget.MediaViewer -> {
|
||||
val params = MediaViewerEntryPoint.Params(
|
||||
// TODO When we will be able to load a media timeline from a EventId, change mode here (and use a mixed mode?)
|
||||
mode = MediaViewerEntryPoint.MediaViewerMode.SingleMedia,
|
||||
eventId = navTarget.eventId,
|
||||
mediaInfo = navTarget.mediaInfo,
|
||||
mediaSource = navTarget.mediaSource,
|
||||
|
||||
Reference in New Issue
Block a user