mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-23 05:25:31 +03:00
improve code formatting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
6cdfa88992
commit
19e3b6d0b1
2 changed files with 3 additions and 2 deletions
|
@ -74,6 +74,7 @@ class IncomingTextMessageViewHolder(itemView: View, payload: Any) : MessageHolde
|
|||
lateinit var dateUtils: DateUtils
|
||||
|
||||
lateinit var commonMessageInterface: CommonMessageInterface
|
||||
|
||||
override fun onBind(message: ChatMessage) {
|
||||
super.onBind(message)
|
||||
sharedApplication!!.componentApplication.inject(this)
|
||||
|
|
|
@ -3488,9 +3488,9 @@ class ChatController(args: Bundle) :
|
|||
}
|
||||
|
||||
fun jumpToQuotedMessage(parentMessage: ChatMessage) {
|
||||
for(position in 0 until(adapter!!.items.size)) {
|
||||
for (position in 0 until (adapter!!.items.size)) {
|
||||
val currentItem = adapter?.items?.get(position)?.item
|
||||
if( currentItem is ChatMessage && currentItem.id == parentMessage.id) {
|
||||
if (currentItem is ChatMessage && currentItem.id == parentMessage.id) {
|
||||
layoutManager!!.scrollToPosition(position)
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue