fix klint warnings

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2022-06-07 11:11:24 +02:00 committed by Andy Scherzinger (Rebase PR Action)
parent bf05445561
commit e605546925
5 changed files with 3 additions and 6 deletions

View file

@ -119,7 +119,6 @@ class IncomingPollMessageViewHolder(incomingView: View, payload: Any) : MessageH
// TODO: how to get room token here?
val roomToken = "???????????????????????????"
binding.bubble.setOnClickListener {
val pollVoteDialog = PollVoteDialogFragment.newInstance(
message.activeUser!!, roomToken, pollId,

View file

@ -1,4 +1,4 @@
package com.nextcloud.talk.polls.model
class PollModel {
}
}

View file

@ -9,4 +9,4 @@ interface DialogPollRepository {
val roomToken: String,
val pollId: Int
)
}
}

View file

@ -50,8 +50,6 @@ class PollVoteDialogFragment : DialogFragment() {
binding.messagePollTitle.text = pollTitle
viewModel.viewState.observe(this) { state ->
// when (state) {
// }

View file

@ -31,4 +31,4 @@ class PollViewModel @Inject constructor(private val repository: DialogPollReposi
)
// loadAvailableTypes()
}
}
}