Loading presentation/src/main/java/com/moez/QKSMS/feature/compose/AttachmentAdapter.kt +2 −3 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ package com.moez.QKSMS.feature.compose import android.content.Context import android.util.Log import android.view.LayoutInflater import android.view.ViewGroup import com.bumptech.glide.Glide Loading Loading @@ -81,7 +80,7 @@ class AttachmentAdapter @Inject constructor( .mapNotNull { vCard -> Ezvcard.parse(vCard).first() } .subscribeOn(Schedulers.computation()) .observeOn(AndroidSchedulers.mainThread()) .subscribe( { vcard -> view.name?.text = vcard.formattedName.value }, { throwable -> Log.i("AttachmentAdapter.kt", "Name field is null") } ) .subscribe { vcard -> view.name?.text = vcard.formattedName.value } } } Loading presentation/src/main/java/com/moez/QKSMS/feature/compose/part/VCardBinder.kt +2 −3 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ package com.moez.QKSMS.feature.compose.part import android.content.Context import android.util.Log import android.view.Gravity import android.view.View import android.widget.FrameLayout Loading Loading @@ -64,7 +63,7 @@ class VCardBinder @Inject constructor(colors: Colors, private val context: Conte .mapNotNull { inputStream -> inputStream.use { Ezvcard.parse(it).first() } } .subscribeOn(Schedulers.computation()) .observeOn(AndroidSchedulers.mainThread()) .subscribe( { vcard -> view.name?.text = vcard.formattedName.value }, { throwable -> Log.i("VCardBinder.kt", "Name field is null") } ) .subscribe { vcard -> view.name?.text = vcard.formattedName.value } val params = view.vCardBackground.layoutParams as FrameLayout.LayoutParams if (!message.isMe()) { Loading Loading
presentation/src/main/java/com/moez/QKSMS/feature/compose/AttachmentAdapter.kt +2 −3 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ package com.moez.QKSMS.feature.compose import android.content.Context import android.util.Log import android.view.LayoutInflater import android.view.ViewGroup import com.bumptech.glide.Glide Loading Loading @@ -81,7 +80,7 @@ class AttachmentAdapter @Inject constructor( .mapNotNull { vCard -> Ezvcard.parse(vCard).first() } .subscribeOn(Schedulers.computation()) .observeOn(AndroidSchedulers.mainThread()) .subscribe( { vcard -> view.name?.text = vcard.formattedName.value }, { throwable -> Log.i("AttachmentAdapter.kt", "Name field is null") } ) .subscribe { vcard -> view.name?.text = vcard.formattedName.value } } } Loading
presentation/src/main/java/com/moez/QKSMS/feature/compose/part/VCardBinder.kt +2 −3 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ package com.moez.QKSMS.feature.compose.part import android.content.Context import android.util.Log import android.view.Gravity import android.view.View import android.widget.FrameLayout Loading Loading @@ -64,7 +63,7 @@ class VCardBinder @Inject constructor(colors: Colors, private val context: Conte .mapNotNull { inputStream -> inputStream.use { Ezvcard.parse(it).first() } } .subscribeOn(Schedulers.computation()) .observeOn(AndroidSchedulers.mainThread()) .subscribe( { vcard -> view.name?.text = vcard.formattedName.value }, { throwable -> Log.i("VCardBinder.kt", "Name field is null") } ) .subscribe { vcard -> view.name?.text = vcard.formattedName.value } val params = view.vCardBackground.layoutParams as FrameLayout.LayoutParams if (!message.isMe()) { Loading