Fix crash when settings is closed quickly

This commit is contained in:
Moez Bhatti
2018-09-05 00:37:16 -04:00
parent c42de6f827
commit e285892424
4 changed files with 5 additions and 5 deletions
@@ -65,7 +65,7 @@ class ConversationInfoController(val threadId: Long = 0) : QkController<Conversa
}
override fun onViewCreated() {
items.postDelayed({ items.animateLayoutChanges = true }, 100)
items.postDelayed({ items?.animateLayoutChanges = true }, 100)
mediaAdapter.thumbnailClicks
.autoDisposable(scope())