mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-28 01:24:03 +03:00
fix klint warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
bf05445561
commit
e605546925
5 changed files with 3 additions and 6 deletions
|
@ -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,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package com.nextcloud.talk.polls.model
|
||||
|
||||
class PollModel {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,4 +9,4 @@ interface DialogPollRepository {
|
|||
val roomToken: String,
|
||||
val pollId: Int
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,8 +50,6 @@ class PollVoteDialogFragment : DialogFragment() {
|
|||
|
||||
binding.messagePollTitle.text = pollTitle
|
||||
|
||||
|
||||
|
||||
viewModel.viewState.observe(this) { state ->
|
||||
// when (state) {
|
||||
// }
|
||||
|
|
|
@ -31,4 +31,4 @@ class PollViewModel @Inject constructor(private val repository: DialogPollReposi
|
|||
)
|
||||
// loadAvailableTypes()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue