Prevent crash when clicking link in ComposeActivity

This commit is contained in:
Moez Bhatti
2018-04-08 18:48:58 -04:00
parent 9d3ed36856
commit 0190f4bef8
@@ -97,7 +97,7 @@ class MessagesAdapter @Inject constructor(
*/
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): QkViewHolder {
val layoutInflater = LayoutInflater.from(context)
val layoutInflater = LayoutInflater.from(parent.context)
val view: View
if (viewType == VIEW_TYPE_MESSAGE_OUT) {