mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-16 02:58:52 +01:00
Prevent crash when clicking link in ComposeActivity
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user