mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 18:35:40 +03:00
Code cleanup
This commit is contained in:
parent
dbc17ae515
commit
cac5fb725a
1 changed files with 2 additions and 4 deletions
|
@ -39,9 +39,7 @@ import im.vector.riotx.R
|
|||
class TextComposerView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null,
|
||||
defStyleAttr: Int = 0) : ConstraintLayout(context, attrs, defStyleAttr) {
|
||||
|
||||
interface Callback {
|
||||
fun onRichContentSelected(contentUri: Uri): Boolean
|
||||
}
|
||||
interface Callback : ComposerEditText.Callback
|
||||
|
||||
var callback: Callback? = null
|
||||
|
||||
|
@ -60,7 +58,7 @@ class TextComposerView @JvmOverloads constructor(context: Context, attrs: Attrib
|
|||
@BindView(R.id.composer_avatar_view)
|
||||
lateinit var composerAvatarImageView: ImageView
|
||||
|
||||
var currentConstraintSetId: Int = -1
|
||||
private var currentConstraintSetId: Int = -1
|
||||
|
||||
private val animationDuration = 100L
|
||||
|
||||
|
|
Loading…
Reference in a new issue