Increase sticker size

As proposed in https://github.com/SpiritCroc/SchildiChat-android/issues/8

Change-Id: I225515eaf7b269d82572dd1b0f745d6da6b8c3be
This commit is contained in:
SpiritCroc 2020-09-25 13:17:10 +02:00
parent 01b5a88d59
commit 0d7c0bc29c
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ class ImageContentRenderer @Inject constructor(private val activeSessionHolder:
}
Mode.STICKER -> {
// limit on width
val maxWidthDp = min(dimensionConverter.dpToPx(120), maxImageWidth / 2)
val maxWidthDp = min(dimensionConverter.dpToPx(240), maxImageWidth)
finalWidth = min(dimensionConverter.dpToPx(width), maxWidthDp)
finalHeight = finalWidth * height / width
}