ComposeViewModel: remove unused variable (#2060)

This commit is contained in:
Alibek Omarov 2021-01-31 20:58:45 +03:00 committed by GitHub
parent b00aa9b461
commit 455942505c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -271,12 +271,10 @@ class ComposeViewModel @Inject constructor(
val mediaIds = ArrayList<String>()
val mediaUris = ArrayList<Uri>()
val mediaDescriptions = ArrayList<String>()
val mediaTypes = ArrayList<QueuedMedia.Type>()
for (item in media.value!!) {
mediaIds.add(item.id!!)
mediaUris.add(item.uri)
mediaDescriptions.add(item.description ?: "")
mediaTypes.add(item.type)
}
val tootToSend = TootToSend(