Fix crash with untitled sticker pack in sticker keyboard.

This commit is contained in:
AsamK 2021-07-31 11:03:04 +02:00 committed by Greyson Parrelli
parent 6e1621fef1
commit 5fef0494b1

View file

@ -72,7 +72,7 @@ class StickerKeyboardRepository(private val stickerDatabase: StickerDatabase) {
data class KeyboardStickerPack( data class KeyboardStickerPack(
val packId: String, val packId: String,
val title: String?, val title: String?,
val titleResource: Int? = 0, val titleResource: Int? = null,
val coverUri: Uri?, val coverUri: Uri?,
val coverResource: Int? = null, val coverResource: Int? = null,
val stickers: List<StickerRecord> = emptyList() val stickers: List<StickerRecord> = emptyList()