removing unused import

This commit is contained in:
Adam Brown 2022-09-29 15:12:53 +01:00
parent f5dc3be272
commit bd885823bd
1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
package app.dapk.st.navigator package app.dapk.st.navigator
import android.app.Activity import android.app.Activity
import android.app.Instrumentation.ActivityResult
import android.app.PendingIntent import android.app.PendingIntent
import android.content.Context import android.content.Context
import android.content.Intent import android.content.Intent
@ -82,7 +81,7 @@ data class MessageAttachment(val uri: AndroidUri, val type: MimeType) : Parcelab
private companion object : Parceler<MessageAttachment> { private companion object : Parceler<MessageAttachment> {
override fun create(parcel: Parcel): MessageAttachment { override fun create(parcel: Parcel): MessageAttachment {
val uri = AndroidUri(parcel.readString()!!) val uri = AndroidUri(parcel.readString()!!)
val type = when(parcel.readString()!!) { val type = when (parcel.readString()!!) {
"mimetype-image" -> MimeType.Image "mimetype-image" -> MimeType.Image
else -> throw IllegalStateException() else -> throw IllegalStateException()
} }