Fix ktlint issues

Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
Tim Krüger 2022-04-27 13:36:58 +02:00
parent df5c0044c1
commit cf91e2390e
No known key found for this signature in database
GPG Key ID: FECE3A7222C52A4E
2 changed files with 6 additions and 3 deletions

View File

@ -8,7 +8,6 @@ import androidx.lifecycle.ViewModelProvider
import com.nextcloud.talk.adapters.SharedItemsAdapter import com.nextcloud.talk.adapters.SharedItemsAdapter
import com.nextcloud.talk.databinding.ActivitySharedItemsBinding import com.nextcloud.talk.databinding.ActivitySharedItemsBinding
import com.nextcloud.talk.models.database.UserEntity import com.nextcloud.talk.models.database.UserEntity
import com.nextcloud.talk.utils.bundle.BundleKeys
import com.nextcloud.talk.utils.bundle.BundleKeys.KEY_CONVERSATION_NAME import com.nextcloud.talk.utils.bundle.BundleKeys.KEY_CONVERSATION_NAME
import com.nextcloud.talk.utils.bundle.BundleKeys.KEY_ROOM_TOKEN import com.nextcloud.talk.utils.bundle.BundleKeys.KEY_ROOM_TOKEN
import com.nextcloud.talk.utils.bundle.BundleKeys.KEY_USER_ENTITY import com.nextcloud.talk.utils.bundle.BundleKeys.KEY_USER_ENTITY

View File

@ -65,7 +65,11 @@ class SharedItemsViewModel(private val repository: SharedItemsRepository) : View
override fun onComplete() { override fun onComplete() {
this@SharedItemsViewModel._media.value = this@SharedItemsViewModel._media.value =
SharedMediaItems(items.toSortedMap().values.toList().reversed(), chatLastGiven, repository.authHeader()) SharedMediaItems(
items.toSortedMap().values.toList().reversed(),
chatLastGiven,
repository.authHeader()
)
} }
}) })
} }