Add support for files navigation (when coming from the gallery)
This commit is contained in:
parent
901ad85ee6
commit
7397dde87d
6 changed files with 34 additions and 7 deletions
|
|
@ -31,10 +31,17 @@ interface MediaViewerEntryPoint : FeatureEntryPoint {
|
|||
}
|
||||
|
||||
data class Params(
|
||||
val mode: MediaViewerMode,
|
||||
val eventId: EventId?,
|
||||
val mediaInfo: MediaInfo,
|
||||
val mediaSource: MediaSource,
|
||||
val thumbnailSource: MediaSource?,
|
||||
val canShowInfo: Boolean,
|
||||
) : NodeInputs
|
||||
|
||||
enum class MediaViewerMode {
|
||||
SingleMedia,
|
||||
TimelineImagesAndVideos,
|
||||
TimelineFilesAndAudios,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue