forked from upstream-mirrors/quik
#1012 - Show video attachments
This commit is contained in:
@@ -25,7 +25,6 @@ import android.net.Uri
|
||||
import android.provider.Telephony
|
||||
import model.MmsPart
|
||||
import timber.log.Timber
|
||||
import util.extensions.isImage
|
||||
import util.extensions.isSmil
|
||||
import util.extensions.isText
|
||||
import java.io.BufferedReader
|
||||
@@ -51,8 +50,6 @@ class CursorToPartImpl @Inject constructor(private val context: Context) : Curso
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
isImage() -> image = ContentUris.withAppendedId(CONTENT_URI, id).toString()
|
||||
|
||||
isText() -> {
|
||||
text = if (data == null) {
|
||||
from.getString(from.getColumnIndexOrThrow("text"))
|
||||
|
||||
Reference in New Issue
Block a user