Fixed crash when opening chat.

This commit is contained in:
Felix Ableitner 2015-03-02 22:53:51 +01:00
parent c4a45e2c49
commit c670588f98

View file

@ -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 = _