mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-28 05:59:05 +03:00
[merge] Put poll in message bubble
Change-Id: Ifebbc53cd1c716b8b890e63f536b258c68b4c1cf
This commit is contained in:
parent
38d16c98e3
commit
bd38595ab5
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
package im.vector.app.features.home.room.detail.timeline.item
|
package im.vector.app.features.home.room.detail.timeline.item
|
||||||
|
|
||||||
|
import android.content.Context
|
||||||
import android.widget.LinearLayout
|
import android.widget.LinearLayout
|
||||||
import android.widget.TextView
|
import android.widget.TextView
|
||||||
import androidx.core.view.children
|
import androidx.core.view.children
|
||||||
|
@ -83,4 +84,8 @@ abstract class PollItem : AbsMessageItem<PollItem.Holder>() {
|
||||||
companion object {
|
companion object {
|
||||||
private const val STUB_ID = R.id.messageContentPollStub
|
private const val STUB_ID = R.id.messageContentPollStub
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun messageBubbleAllowed(context: Context): Boolean {
|
||||||
|
return true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue