mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
Fix ktlint issues
Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
parent
df5c0044c1
commit
cf91e2390e
@ -8,7 +8,6 @@ import androidx.lifecycle.ViewModelProvider
|
||||
import com.nextcloud.talk.adapters.SharedItemsAdapter
|
||||
import com.nextcloud.talk.databinding.ActivitySharedItemsBinding
|
||||
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_ROOM_TOKEN
|
||||
import com.nextcloud.talk.utils.bundle.BundleKeys.KEY_USER_ENTITY
|
||||
|
@ -65,7 +65,11 @@ class SharedItemsViewModel(private val repository: SharedItemsRepository) : View
|
||||
|
||||
override fun onComplete() {
|
||||
this@SharedItemsViewModel._media.value =
|
||||
SharedMediaItems(items.toSortedMap().values.toList().reversed(), chatLastGiven, repository.authHeader())
|
||||
SharedMediaItems(
|
||||
items.toSortedMap().values.toList().reversed(),
|
||||
chatLastGiven,
|
||||
repository.authHeader()
|
||||
)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user