Use blurhash as image preview and as sensitive media cover, close #1571 (#1581)

* Use blurhash as image preview and as sensitive media cover, close #1571

* Fix focal point for blurhashes

* Fix video indicator overlapping sensitive media indicator

* Add a preference for blurhash

* Add blurhash to report UI.

* Introduce StatusDisplayOptions
This commit is contained in:
Ivan Kupalov 2019-12-30 21:37:20 +01:00 committed by Konrad Pozniak
commit 7623962a0d
32 changed files with 560 additions and 368 deletions

View file

@ -31,7 +31,8 @@ data class Attachment(
@SerializedName("preview_url") val previewUrl: String,
val meta: MetaData?,
val type: Type,
val description: String?
val description: String?,
val blurhash: String?
) : Parcelable {
@JsonAdapter(MediaTypeDeserializer::class)