mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-26 01:37:43 +00:00
Fix crash
This commit is contained in:
parent
8a7e6d6893
commit
ca85044a7b
@ -38,7 +38,7 @@ class InputBar : RelativeLayout, InputBarEditTextDelegate, QuoteViewDelegate, Li
|
|||||||
set(value) { field = value; showOrHideInputIfNeeded() }
|
set(value) { field = value; showOrHideInputIfNeeded() }
|
||||||
|
|
||||||
var text: String
|
var text: String
|
||||||
get() { return inputBarEditText.text.toString() }
|
get() { return inputBarEditText.text?.toString() ?: "" }
|
||||||
set(value) { inputBarEditText.setText(value) }
|
set(value) { inputBarEditText.setText(value) }
|
||||||
|
|
||||||
private val attachmentsButton by lazy { InputBarButton(context, R.drawable.ic_plus_24) }
|
private val attachmentsButton by lazy { InputBarButton(context, R.drawable.ic_plus_24) }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user