Skip to content

Commit

Permalink
Remove unneeded logs
Browse files Browse the repository at this point in the history
  • Loading branch information
JcMinarro committed Aug 19, 2024
1 parent 938095b commit 8ec33a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,7 @@ internal object MessageListItemDiffCallback : DiffUtil.ItemCallback<MessageListI
user = oldMessage.user != newMessage.user,
mentions = oldMessage.mentionedUsers != newMessage.mentionedUsers,
footer = oldItem.showMessageFooter != newItem.showMessageFooter,
poll = oldMessage.poll?.also {
println("JcLog: MessageListItemDiffCallback.getMessageChangePayload: oldMessage.poll = $it")
} != newMessage.poll?.also {
println("JcLog: MessageListItemDiffCallback.getMessageChangePayload: newMessage.poll = $it")
},
poll = oldMessage.poll != newMessage.poll,
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ internal class PollView : RecyclerView {

val pollItems = mutableListOf<PollItem>()
pollItems.add(PollItem.Header(poll.name, poll.description))
println("JcLog [setPoll]: poll.voteCountsByOption -> ${poll.voteCountsByOption}")
println("JcLog [setPoll]: poll.votes.count -> ${poll.votes.size}")
pollItems.addAll(
poll.options.map { option ->
PollItem.Answer(
Expand Down

0 comments on commit 8ec33a0

Please sign in to comment.