mirror of
https://github.com/TwidereProject/Twidere-Android
synced 2025-01-20 20:18:35 +01:00
fixed mastodon image preview
This commit is contained in:
parent
f224c0f0be
commit
c4161ae01f
@ -33,7 +33,9 @@ fun Attachment.toParcelable(): ParcelableMedia {
|
||||
"gifv" -> ParcelableMedia.Type.ANIMATED_GIF
|
||||
else -> ParcelableMedia.Type.UNKNOWN
|
||||
}
|
||||
result.preview_url = previewUrl
|
||||
result.url = url ?: remoteUrl
|
||||
result.media_url = result.url
|
||||
result.preview_url = previewUrl
|
||||
result.page_url = textUrl
|
||||
return result
|
||||
}
|
Loading…
Reference in New Issue
Block a user