ComposeViewModel: remove unused variable (#2060)
This commit is contained in:
parent
b00aa9b461
commit
455942505c
1 changed files with 1 additions and 3 deletions
|
@ -271,12 +271,10 @@ class ComposeViewModel @Inject constructor(
|
||||||
val mediaIds = ArrayList<String>()
|
val mediaIds = ArrayList<String>()
|
||||||
val mediaUris = ArrayList<Uri>()
|
val mediaUris = ArrayList<Uri>()
|
||||||
val mediaDescriptions = ArrayList<String>()
|
val mediaDescriptions = ArrayList<String>()
|
||||||
val mediaTypes = ArrayList<QueuedMedia.Type>()
|
|
||||||
for (item in media.value!!) {
|
for (item in media.value!!) {
|
||||||
mediaIds.add(item.id!!)
|
mediaIds.add(item.id!!)
|
||||||
mediaUris.add(item.uri)
|
mediaUris.add(item.uri)
|
||||||
mediaDescriptions.add(item.description ?: "")
|
mediaDescriptions.add(item.description ?: "")
|
||||||
mediaTypes.add(item.type)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
val tootToSend = TootToSend(
|
val tootToSend = TootToSend(
|
||||||
|
|
Loading…
Reference in a new issue