mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-23 21:45:42 +03:00
Replace unused lambda parameters by '_'
Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
parent
84116e4cb2
commit
d8f37bec42
1 changed files with 4 additions and 4 deletions
|
@ -1053,7 +1053,7 @@ class ConversationInfoController(args: Bundle) :
|
|||
cornerRadius(res = R.dimen.corner_radius)
|
||||
|
||||
title(text = participant.displayName)
|
||||
listItemsWithImage(items = items) { dialog, index, _ ->
|
||||
listItemsWithImage(items = items) { _, index, _ ->
|
||||
if (index == 0) {
|
||||
removeAttendeeFromConversation(apiVersion, participant)
|
||||
}
|
||||
|
@ -1079,7 +1079,7 @@ class ConversationInfoController(args: Bundle) :
|
|||
cornerRadius(res = R.dimen.corner_radius)
|
||||
|
||||
title(text = participant.displayName)
|
||||
listItemsWithImage(items = items) { dialog, index, _ ->
|
||||
listItemsWithImage(items = items) { _, index, _ ->
|
||||
if (index == 0) {
|
||||
removeAttendeeFromConversation(apiVersion, participant)
|
||||
}
|
||||
|
@ -1099,7 +1099,7 @@ class ConversationInfoController(args: Bundle) :
|
|||
cornerRadius(res = R.dimen.corner_radius)
|
||||
|
||||
title(text = participant.displayName)
|
||||
listItemsWithImage(items = items) { dialog, index, _ ->
|
||||
listItemsWithImage(items = items) { _, index, _ ->
|
||||
if (index == 0) {
|
||||
removeAttendeeFromConversation(apiVersion, participant)
|
||||
}
|
||||
|
@ -1150,7 +1150,7 @@ class ConversationInfoController(args: Bundle) :
|
|||
cornerRadius(res = R.dimen.corner_radius)
|
||||
|
||||
title(text = participant.displayName)
|
||||
listItemsWithImage(items = items) { dialog, index, _ ->
|
||||
listItemsWithImage(items = items) { _, index, _ ->
|
||||
var actionToTrigger = index
|
||||
if (participant.attendeePin == null || participant.attendeePin!!.isEmpty()) {
|
||||
actionToTrigger++
|
||||
|
|
Loading…
Reference in a new issue