Fixed crash when opening chat.
This commit is contained in:
parent
c4a45e2c49
commit
c670588f98
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class ChatFragment extends ListFragment with OnClickListener
|
|||
this.address = address
|
||||
}
|
||||
|
||||
private val database = new Database(getActivity)
|
||||
private lazy val database = new Database(getActivity)
|
||||
|
||||
private var address: Address = _
|
||||
|
||||
|
|
Reference in a new issue