We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 474eee9 commit 9d8477cCopy full SHA for 9d8477c
app/src/main/java/com/troplo/privateuploader/components/chat/Message.kt
@@ -255,12 +255,12 @@ fun MessagePreview() {
255
data = EmbedData(
256
type = "image",
257
description = "yes",
258
- height = 69,
+ height = 69f,
259
siteName = "TPU",
260
title = "TPU",
261
upload = null,
262
url = "https://i.troplo.com",
263
- width = 420
+ width = 420f
264
),
265
266
)
app/src/main/java/com/troplo/privateuploader/data/model/Message.kt
@@ -101,8 +101,8 @@ data class EmbedData(
101
val title: String?,
102
val description: String?,
103
val siteName: String?,
104
- val width: Int?,
105
- val height: Int?,
+ val width: Float?,
+ val height: Float?,
106
val upload: Upload?,
107
val type: String?,
108
0 commit comments