Fix crash reported by the PlayStore, for release 1.3.4
I did not find a way to reproduce, but this change should add some safety
This commit is contained in:
parent
628ccdc328
commit
367795ee24
|
@ -641,9 +641,11 @@ class RoomDetailFragment @Inject constructor(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.setOnEmojiPopupDismissListener {
|
.setOnEmojiPopupDismissListener {
|
||||||
views.composerLayout.views.composerEmojiButton.apply {
|
if (isAdded) {
|
||||||
contentDescription = getString(R.string.a11y_open_emoji_picker)
|
views.composerLayout.views.composerEmojiButton.apply {
|
||||||
setImageResource(R.drawable.ic_insert_emoji)
|
contentDescription = getString(R.string.a11y_open_emoji_picker)
|
||||||
|
setImageResource(R.drawable.ic_insert_emoji)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.build(views.composerLayout.views.composerEditText)
|
.build(views.composerLayout.views.composerEditText)
|
||||||
|
|
Loading…
Reference in New Issue