Improve mapping regarding filename, caption and formattedCaption
This commit is contained in:
parent
5a4e5d0575
commit
920dc2b0d7
56 changed files with 440 additions and 255 deletions
|
|
@ -84,10 +84,11 @@ class UserProfileFlowNode @AssistedInject constructor(
|
|||
val mimeType = MimeTypes.Images
|
||||
val input = MediaViewerNode.Inputs(
|
||||
mediaInfo = MediaInfo(
|
||||
name = navTarget.name,
|
||||
filename = navTarget.name,
|
||||
caption = null,
|
||||
mimeType = mimeType,
|
||||
formattedFileSize = "",
|
||||
fileExtension = ""
|
||||
fileExtension = "",
|
||||
),
|
||||
mediaSource = MediaSource(url = navTarget.avatarUrl),
|
||||
thumbnailSource = null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue